ReferenceSourceSelectorTask

ReferenceSourceSelectorTask selects reference sources by optionally applying a magnitude limit, flag requirements and color limits.

Python API summary

from lsst.meas.algorithms.sourceSelector import ReferenceSourceSelectorTask
classReferenceSourceSelectorTask(**kwargs)

Reference source selector...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(sourceCat, sourceSelectedField=None, matches=None, exposure=None)

Select sources and return them...

See also

See the ReferenceSourceSelectorTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

colorLimits

Default
{}
Field type

ConfigDictField

Key type

str

Value type

lsst.meas.algorithms.sourceSelector.ColorLimit

Color limits to apply; key is used as a label only

doFlags

Default
False
Field type

bool Field

Apply flag limitation?

doMagError

Default
False
Field type

bool Field

Apply magnitude error limit?

doMagLimit

Default
False
Field type

bool Field

Apply magnitude limit?

doSignalToNoise

Default
False
Field type

bool Field

Apply signal-to-noise limit?

doUnresolved

Default
False
Field type

bool Field

Apply unresolved limitation?

flags

Data type

lsst.meas.algorithms.sourceSelector.RequireFlags

Field type

ConfigField

Flags to require

magError

Data type

lsst.meas.algorithms.sourceSelector.MagnitudeErrorLimit

Field type

ConfigField

Magnitude error limit to apply

magLimit

Data type

lsst.meas.algorithms.sourceSelector.MagnitudeLimit

Field type

ConfigField

Magnitude limit to apply

signalToNoise

Data type

lsst.meas.algorithms.sourceSelector.SignalToNoiseLimit

Field type

ConfigField

Signal-to-noise limit to apply

unresolved

Data type

lsst.meas.algorithms.sourceSelector.RequireUnresolved

Field type

ConfigField

Star/galaxy separation to apply