exosim.tasks.instrument.computeSourcesPointingOffset#
Classes#
It computes the source offset on the focal plane respect to the pointing direction. |
Functions#
|
Computes the Angle of View for a single pixel |
Module Contents#
- class ComputeSourcesPointingOffset[source]#
Bases:
exosim.tasks.task.TaskIt 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
- angle_of_view(plate_scale, delta_pix, ovs)[source]#
Computes the Angle of View for a single pixel
- Parameters:
plate_scale (
astropy.units.Quantity) – plate scaledelta_pix (
astropy.units.Quantity) – size of a pixel
- Returns:
astropy.units.Quantity– angle of view in deg of each subpixel in the spatial directionastropy.units.Quantity– angle of view in deg of each subpixel in the spectral direction