DiaCatalogSourceSelectorTask¶
A task that selects sources for Kernel candidates.
Description¶
A naive star selector based on second moments. Use with caution.
Python API summary¶
from lsst.ip.diffim.diaCatalogSourceSelector import DiaCatalogSourceSelectorTask
-
class
DiaCatalogSourceSelectorTask
(**kwargs) A task that selects sources for Kernel candidates
...
- attributeconfig
Access configuration fields and retargetable subtasks.
-
method
run
(sourceCat, sourceSelectedField=None, matches=None, exposure=None) Select sources and return them
...
See also
See the DiaCatalogSourceSelectorTask
API reference for complete details.
Retargetable subtasks¶
No subtasks.
Configuration fields¶
badFlags¶
- Default
['base_PixelFlags_flag_edge', 'base_PixelFlags_flag_interpolatedCenter', 'base_PixelFlags_flag_saturatedCenter', 'base_PixelFlags_flag_crCenter', 'base_PixelFlags_flag_bad', 'base_PixelFlags_flag_interpolated']
- Field type
List of flags which cause a source to be rejected as bad
fluxLim¶
specify the minimum psfFlux for good Kernel Candidates
fluxMax¶
specify the maximum psfFlux for good Kernel Candidates (ignored if == 0)
grMax¶
Maximum g-r color for selection (inclusive)
grMin¶
Minimum g-r color for selection (inclusive)
includeVariable¶
Include objects that are known to be variable
selectGalaxy¶
Select objects that are flagged as galaxies
selectStar¶
Select objects that are flagged as stars
Debugging¶
The pipetask
command line interface supports a --debug
flag to import
debug.py
from your PYTHONPATH; see lsstDebug for more about debug.py
files.
The available variables in DiaCatalogSourceSelectorTask include: