exosim.tasks.instrument.computeSourcesPointingOffset#

Classes#

ComputeSourcesPointingOffset

It computes the source offset on the focal plane respect to the pointing direction.

Functions#

angle_of_view(plate_scale, delta_pix, ovs)

Computes the Angle of View for a single pixel

Module Contents#

class ComputeSourcesPointingOffset[source]#

Bases: exosim.tasks.task.Task

It computes the source offset on the focal plane respect to the pointing direction. The offset is in units of subpixels.

Returns:

  • int – offset in the spatial direction

  • int – offset in the spectral direction

execute()[source]#

Class execution. It runs on call and executes all the task actions returning the outputs. It requires the input with correct keywords

angle_of_view(plate_scale, delta_pix, ovs)[source]#

Computes the Angle of View for a single pixel

Parameters:
Returns: