lsst.pipe.tasks
20.0.0-13-g198ee8df+1
|
Public Member Functions | |
def | __init__ (self, **kwds) |
def | run (self, butler, n, tractInfo, camera, catalog=None) |
def | makePointings (self, n, tractInfo) |
def | buildWcs (self, position, pa, detector) |
def | buildPhotoCalib (self) |
def | buildPsf (self, detector) |
def | buildApCorrMap (self, detector) |
def | buildTransmissionCurve (self, detector) |
Public Attributes | |
schema | |
ccdKey | |
visitKey | |
pointingKey | |
filterKey | |
rng | |
Static Public Attributes | |
ConfigClass | |
Task to generate mock Exposure parameters (Wcs, Psf, PhotoCalib), intended for use as a subtask of MockCoaddTask. @todo: - document "pa" in detail; angle of what to what? - document the catalog parameter of the run method
Definition at line 77 of file mockObservation.py.
def lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.__init__ | ( | self, | |
** | kwds | ||
) |
Definition at line 88 of file mockObservation.py.
def lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.buildApCorrMap | ( | self, | |
detector | |||
) |
Build an ApCorrMap with random linearly-varying fields for all flux fields registered for aperture correction. These flux field names are used only as strings; there is no connection to any actual algorithms with those names or the PSF model.
Definition at line 224 of file mockObservation.py.
def lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.buildPhotoCalib | ( | self | ) |
Build a simple PhotoCalib object with the calibration factor drawn from a Gaussian defined by config.
Definition at line 182 of file mockObservation.py.
def lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.buildPsf | ( | self, | |
detector | |||
) |
Build a simple Gaussian Psf with linearly-varying ellipticity and size. The Psf pattern increases sigma_x linearly along the x direction, and sigma_y linearly along the y direction. @param[in] detector: detector information (an lsst.afw.cameraGeom.Detector) @return a psf (an instance of lsst.meas.algorithms.KernelPsf)
Definition at line 192 of file mockObservation.py.
def lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.buildTransmissionCurve | ( | self, | |
detector | |||
) |
Build a random spacially-varying TransmissionCurve.
Definition at line 248 of file mockObservation.py.
def lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.buildWcs | ( | self, | |
position, | |||
pa, | |||
detector | |||
) |
Build a simple TAN Wcs with no distortion and exactly-aligned CCDs. @param[in] position: ICRS object position on sky (on lsst.geom.SpherePoint) @param[in] pa: position angle (an lsst.geom.Angle) @param[in] detector: detector information (an lsst.afw.cameraGeom.Detector)
Definition at line 167 of file mockObservation.py.
def lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.makePointings | ( | self, | |
n, | |||
tractInfo | |||
) |
Generate (celestial) positions and rotation angles that define field locations. Default implementation draws random pointings that are uniform in the tract's image coordinate system. @param[in] n: number of pointings @param[in] tractInfo: skymap tract (a lsst.skymap.TractInfo) @return a Python iterable over (coord, angle) pairs: - coord is an ICRS object position (an lsst.geom.SpherePoint) - angle is a position angle (???) (an lsst.geom.Angle) The default implementation returns an iterator (i.e. the function is a "generator"), but derived-class overrides may return any iterable.
Definition at line 141 of file mockObservation.py.
def lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.run | ( | self, | |
butler, | |||
n, | |||
tractInfo, | |||
camera, | |||
catalog = None |
|||
) |
Driver that generates an ExposureCatalog of mock observations. @param[in] butler: a data butler @param[in] n: number of pointings @param[in] camera: camera geometry (an lsst.afw.cameraGeom.Camera) @param[in] catalog: catalog to which to add observations (an ExposureCatalog); if None then a new catalog is created. @todo figure out what `pa` is and use that knowledge to set `boresightRotAng` and `rotType`
Definition at line 97 of file mockObservation.py.
lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.ccdKey |
Definition at line 91 of file mockObservation.py.
|
static |
Definition at line 86 of file mockObservation.py.
lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.filterKey |
Definition at line 94 of file mockObservation.py.
lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.pointingKey |
Definition at line 93 of file mockObservation.py.
lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.rng |
Definition at line 95 of file mockObservation.py.
lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.schema |
Definition at line 90 of file mockObservation.py.
lsst.pipe.tasks.mocks.mockObservation.MockObservationTask.visitKey |
Definition at line 92 of file mockObservation.py.