|
lsst.ip.diffim
14.0-11-g7664582
|
Select sources for Kernel candidates. More...
Public Member Functions | |
| def | selectStars (self, exposure, sourceCat, matches=None) |
Static Public Attributes | |
| ConfigClass = DiaCatalogSourceSelectorConfig | |
| bool | usesMatches = True |
Select sources for Kernel candidates.
A naive star selector based on second moments. Use with caution.
Like all star selectors, the main method is run.
See DiaCatalogSourceSelectorConfig
DiaCatalogSourceSelectorTask has a debug dictionary with the following keys:
For example, put something like:
into your debug.py file and run your task with the --debug flag.
Definition at line 114 of file diaCatalogSourceSelector.py.
| def lsst.ip.diffim.diaCatalogSourceSelector.DiaCatalogSourceSelectorTask.selectStars | ( | self, | |
| exposure, | |||
| sourceCat, | |||
matches = None |
|||
| ) |
Select sources for Kernel candidates
@param[in] exposure the exposure containing the sources
@param[in] sourceCat catalog of sources that may be stars (an lsst.afw.table.SourceCatalog)
@param[in] matches a match vector as produced by meas_astrom; required
(defaults to None to match the StarSelector API and improve error handling)
@return an lsst.pipe.base.Struct containing:
- starCat a list of sources to be used as kernel candidates
Definition at line 172 of file diaCatalogSourceSelector.py.
|
static |
Definition at line 169 of file diaCatalogSourceSelector.py.
|
static |
Definition at line 170 of file diaCatalogSourceSelector.py.
1.8.13