Class to project the focal plane onto the sky.
Parameters
----------
camera : `lsst.afw.cameraGeom.Camera`
Camera from the butler.
defaultOrientation : `int`
Default camera orientation in degrees. This angle is the position
angle of the focal plane +Y with respect to north.
Definition at line 37 of file focalPlaneProjector.py.
lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector.__call__ |
( |
| self, |
|
|
| orientation, |
|
|
| nstep = 100, |
|
|
| use_cache = True ) |
Make a focal plane projection mapping for use with fgcm.
Parameters
----------
orientation : `float` or `int`
Camera orientation in degrees. This angle is the position
angle of the focal plane +Y with respect to north.
nstep : `int`
Number of steps in x/y per detector for the mapping.
use_cache : `bool`, optional
Use integerized cached lookup.
Returns
-------
projectionMapping : `np.ndarray`
A projection mapping object with x, y, x_size, y_size,
delta_ra_cent, delta_dec_cent, delta_ra, delta_dec for
each detector id.
Definition at line 86 of file focalPlaneProjector.py.
lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector._compute_cached_projection |
( |
| self, |
|
|
| orientation, |
|
|
| nstep = 50 ) |
|
protected |
Compute the focal plane projection, with caching.
Parameters
----------
orientation : `int`
Camera orientation in degrees. This angle is the position
angle of the focal plane +Y with respect to north.
nstep : `int`
Number of steps in x/y per detector for the mapping.
Returns
-------
projectionMapping : `np.ndarray`
A projection mapping object with x, y, x_size, y_size,
delta_ra_cent, delta_dec_cent, delta_ra, delta_dec for
each detector id.
Definition at line 121 of file focalPlaneProjector.py.
lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector._compute_projection |
( |
| self, |
|
|
| orientation, |
|
|
| nstep = 50 ) |
|
protected |
Compute the focal plane projection.
Parameters
----------
orientation : `float` or `int`
Camera orientation in degrees. This angle is the position
angle of the focal plane +Y with respect to north.
nstep : `int`
Number of steps in x/y per detector for the mapping.
Returns
-------
projectionMapping : `np.ndarray`
A projection mapping object with x, y, x_size, y_size,
delta_ra_cent, delta_dec_cent, delta_ra, delta_dec for
each detector id.
Definition at line 142 of file focalPlaneProjector.py.