lsst.meas.algorithms
14.0-7-g23fdbe95+6
|
A star selector based on second moments. More...
Public Member Functions | |
def | selectStars (self, exposure, sourceCat, matches=None) |
Return a list of PSF candidates that represent likely stars. More... | |
def | run (self, exposure, sourceCat, matches=None, isStarField=None) |
Select stars, make PSF candidates, and set a flag field True for stars in the input catalog. More... | |
def | makePsfCandidates (self, exposure, starCat) |
Make a list of PSF candidates from a star catalog. More... | |
Static Public Attributes | |
ConfigClass = SecondMomentStarSelectorConfig | |
bool | usesMatches = False |
A star selector based on second moments.
A star selector based on second moments.
Like all star selectors, the main method is run
.
See SecondMomentStarSelectorConfig
SecondMomentStarSelectorTask has a debug dictionary with the following keys:
display = lsstDebug.Info(name).display displayExposure = lsstDebug.Info(name).displayExposure pauseAtEnd = lsstDebug.Info(name).pauseAtEnd
For example, put something like:
into your debug.py
file and run your task with the --debug
flag.
Definition at line 137 of file secondMomentStarSelector.py.
|
inherited |
Make a list of PSF candidates from a star catalog.
[in] | exposure | the exposure containing the sources |
[in] | starCat | catalog of stars (an lsst.afw.table.SourceCatalog), e.g. as returned by the run or selectStars method |
Definition at line 128 of file starSelector.py.
|
inherited |
Select stars, make PSF candidates, and set a flag field True for stars in the input catalog.
[in] | exposure | the exposure containing the sources |
[in] | sourceCat | catalog of sources that may be stars (an lsst.afw.table.SourceCatalog) |
[in] | matches | astrometric matches; ignored by this star selector (an lsst.afw.table.ReferenceMatchVector), or None. Some star selectors will ignore this argument, others may require it. See the usesMatches class variable. |
[in] | isStarField | name of flag field to set True for stars, or None to not set a field; the field is left unchanged for non-stars |
Definition at line 80 of file starSelector.py.
def lsst.meas.algorithms.secondMomentStarSelector.SecondMomentStarSelectorTask.selectStars | ( | self, | |
exposure, | |||
sourceCat, | |||
matches = None |
|||
) |
Return a list of PSF candidates that represent likely stars.
A list of PSF candidates may be used by a PSF fitter to construct a PSF.
[in] | exposure | the exposure containing the sources |
[in] | sourceCat | catalog of sources that may be stars (an lsst.afw.table.SourceCatalog) |
[in] | matches | astrometric matches; ignored by this star selector |
Definition at line 196 of file secondMomentStarSelector.py.
|
static |
Definition at line 193 of file secondMomentStarSelector.py.
|
static |
Definition at line 194 of file secondMomentStarSelector.py.