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
classDiaCatalogSourceSelectorTask(**kwargs)

A task that selects sources for Kernel candidates...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(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

str ListField

List of flags which cause a source to be rejected as bad

fluxLim

Default
0.0
Field type

float Field

specify the minimum psfFlux for good Kernel Candidates

fluxMax

Default
0.0
Field type

float Field

specify the maximum psfFlux for good Kernel Candidates (ignored if == 0)

grMax

Default
3.0
Field type

float Field

Maximum g-r color for selection (inclusive)

grMin

Default
0.0
Field type

float Field

Minimum g-r color for selection (inclusive)

includeVariable

Default
False
Field type

bool Field

Include objects that are known to be variable

selectGalaxy

Default
False
Field type

bool Field

Select objects that are flagged as galaxies

selectStar

Default
True
Field type

bool Field

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:

displaybool

if True display debug information

displayExposurebool

if True display exposure

pauseAtEnd bool

if True wait after displaying everything and wait for user input