LSST Applications
21.0.0-172-gfb10e10a+18fedfabac,22.0.0+297cba6710,22.0.0+80564b0ff1,22.0.0+8d77f4f51a,22.0.0+a28f4c53b1,22.0.0+dcf3732eb2,22.0.1-1-g7d6de66+2a20fdde0d,22.0.1-1-g8e32f31+297cba6710,22.0.1-1-geca5380+7fa3b7d9b6,22.0.1-12-g44dc1dc+2a20fdde0d,22.0.1-15-g6a90155+515f58c32b,22.0.1-16-g9282f48+790f5f2caa,22.0.1-2-g92698f7+dcf3732eb2,22.0.1-2-ga9b0f51+7fa3b7d9b6,22.0.1-2-gd1925c9+bf4f0e694f,22.0.1-24-g1ad7a390+a9625a72a8,22.0.1-25-g5bf6245+3ad8ecd50b,22.0.1-25-gb120d7b+8b5510f75f,22.0.1-27-g97737f7+2a20fdde0d,22.0.1-32-gf62ce7b1+aa4237961e,22.0.1-4-g0b3f228+2a20fdde0d,22.0.1-4-g243d05b+871c1b8305,22.0.1-4-g3a563be+32dcf1063f,22.0.1-4-g44f2e3d+9e4ab0f4fa,22.0.1-42-gca6935d93+ba5e5ca3eb,22.0.1-5-g15c806e+85460ae5f3,22.0.1-5-g58711c4+611d128589,22.0.1-5-g75bb458+99c117b92f,22.0.1-6-g1c63a23+7fa3b7d9b6,22.0.1-6-g50866e6+84ff5a128b,22.0.1-6-g8d3140d+720564cf76,22.0.1-6-gd805d02+cc5644f571,22.0.1-8-ge5750ce+85460ae5f3,master-g6e05de7fdc+babf819c66,master-g99da0e417a+8d77f4f51a,w.2021.48
LSST Data Management Base Package
|
Public Member Functions | |
def | __init__ (self, schema=None, **kwargs) |
Create the detection task. More... | |
def | run (self, exposure, sources, expId=0, matches=None) |
Measure the PSF. More... | |
def | usesMatches (self) |
Public Attributes | |
candidateKey | |
usedKey | |
Static Public Attributes | |
ConfigClass = MeasurePsfConfig | |
Measure the PSF
A task that selects stars from a catalog of sources and uses those to measure the PSF.
The star selector is a subclass of lsst.meas.algorithms.BaseStarSelectorTask and the PSF determiner is a sublcass of lsst.meas.algorithms.BasePsfDeterminerTask
Create the detection task. Most arguments are simply passed onto pipe.base.Task.
@param schema An lsst::afw::table::Schema used to create the output lsst.afw.table.SourceCatalog @param **kwargs Keyword arguments passed to lsst.pipe.base.task.Task.__init__. If schema is not None, 'calib_psf_candidate' and 'calib_psf_used' fields will be added to identify which stars were employed in the PSF estimation. @note This task can add fields to the schema, so any code calling this task must ensure that these fields are indeed present in the input table.
Measure the PSF.
@param[in,out] exposure Exposure to process; measured PSF will be added. @param[in,out] sources Measured sources on exposure; flag fields will be set marking stars chosen by the star selector and the PSF determiner if a schema was passed to the task constructor. @param[in] expId Exposure id used for generating random seed. @param[in] matches A list of lsst.afw.table.ReferenceMatch objects (@em i.e. of lsst.afw.table.Match with @c first being of type lsst.afw.table.SimpleRecord and @c second type lsst.afw.table.SourceRecord --- the reference object and detected object respectively) as returned by @em e.g. the AstrometryTask. Used by star selectors that choose to refer to an external catalog. @return a pipe.base.Struct with fields: - psf: The measured PSF (also set in the input exposure) - cellSet: an lsst.afw.math.SpatialCellSet containing the PSF candidates as returned by the psf determiner.
See MeasurePsfConfig.
The command line task interface supports a flag -d
to import debug.py from your PYTHONPATH
; see Using lsstDebug to control debugging output for more about debug.py files.
display
Additionally you can enable any debug outputs that your chosen star selector and psf determiner support.
To investigate the Debug variables, put something like
into your debug.py file and run measurePsfTask.py with the –debug
flag.
Definition at line 58 of file measurePsf.py.
def lsst.pipe.tasks.measurePsf.MeasurePsfTask.__init__ | ( | self, | |
schema = None , |
|||
** | kwargs | ||
) |
Create the detection task.
Most arguments are simply passed onto pipe.base.Task.
@param schema An lsst::afw::table::Schema used to create the output lsst.afw.table.SourceCatalog @param **kwargs Keyword arguments passed to lsst.pipe.base.task.Task.__init__. If schema is not None, 'calib_psf_candidate' and 'calib_psf_used' fields will be added to identify which stars were employed in the PSF estimation. @note This task can add fields to the schema, so any code calling this task must ensure that these fields are indeed present in the input table.
Definition at line 207 of file measurePsf.py.
def lsst.pipe.tasks.measurePsf.MeasurePsfTask.run | ( | self, | |
exposure, | |||
sources, | |||
expId = 0 , |
|||
matches = None |
|||
) |
Measure the PSF.
@param[in,out] exposure Exposure to process; measured PSF will be added. @param[in,out] sources Measured sources on exposure; flag fields will be set marking stars chosen by the star selector and the PSF determiner if a schema was passed to the task constructor. @param[in] expId Exposure id used for generating random seed. @param[in] matches A list of lsst.afw.table.ReferenceMatch objects (@em i.e. of lsst.afw.table.Match with @c first being of type lsst.afw.table.SimpleRecord and @c second type lsst.afw.table.SourceRecord --- the reference object and detected object respectively) as returned by @em e.g. the AstrometryTask. Used by star selectors that choose to refer to an external catalog. @return a pipe.base.Struct with fields: - psf: The measured PSF (also set in the input exposure) - cellSet: an lsst.afw.math.SpatialCellSet containing the PSF candidates as returned by the psf determiner.
Definition at line 242 of file measurePsf.py.
def lsst.pipe.tasks.measurePsf.MeasurePsfTask.usesMatches | ( | self | ) |
Return True if this task makes use of the "matches" argument to the run method
Definition at line 335 of file measurePsf.py.
lsst.pipe.tasks.measurePsf.MeasurePsfTask.candidateKey |
Definition at line 222 of file measurePsf.py.
|
static |
Definition at line 204 of file measurePsf.py.
lsst.pipe.tasks.measurePsf.MeasurePsfTask.usedKey |
Definition at line 227 of file measurePsf.py.