lsst.fgcmcal g3eccfa81ec+8675f0ff90
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector Class Reference
Inheritance diagram for lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector:

Public Member Functions

 __init__ (self, camera, defaultOrientation)
 
 __call__ (self, orientation, nstep=100, use_cache=True)
 

Public Attributes

 camera
 
 boresight
 
 flipX
 
 defaultOrientation
 

Protected Member Functions

 _makeWcsDict (self, orientation)
 
 _compute_cached_projection (self, orientation, nstep=50)
 
 _compute_projection (self, orientation, nstep=50)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector.__init__ (   self,
  camera,
  defaultOrientation 
)

Definition at line 49 of file focalPlaneProjector.py.

Member Function Documentation

◆ __call__()

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.

◆ _compute_cached_projection()

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.

◆ _compute_projection()

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.

◆ _makeWcsDict()

lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector._makeWcsDict (   self,
  orientation 
)
protected
Make a dictionary of WCSs at the reference boresight position.

Parameters
----------
orientation : `int`
    Orientation in degrees.  This angle is the position
    angle of the focal plane +Y with respect to north.

Returns
-------
wcsDict : `dict`
    Dictionary of WCS, with the detector id as the key.

Definition at line 57 of file focalPlaneProjector.py.

Member Data Documentation

◆ boresight

lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector.boresight

Definition at line 53 of file focalPlaneProjector.py.

◆ camera

lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector.camera

Definition at line 50 of file focalPlaneProjector.py.

◆ defaultOrientation

lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector.defaultOrientation

Definition at line 55 of file focalPlaneProjector.py.

◆ flipX

lsst.fgcmcal.focalPlaneProjector.FocalPlaneProjector.flipX

Definition at line 54 of file focalPlaneProjector.py.


The documentation for this class was generated from the following file: