ScienceSourceSelectorTask

ScienceSourceSelectorTask selects sources from images being processed by optionally applying magnitude limits, flag requirements and star/galaxy separation.

Python API summary

from lsst.meas.algorithms.sourceSelector import ScienceSourceSelectorTask
classScienceSourceSelectorTask(**kwargs)

Science 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 ScienceSourceSelectorTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

doFlags

Default
False
Field type

bool Field

Apply flag limitation?

doFluxLimit

Default
False
Field type

bool Field

Apply flux limit?

doIsolated

Default
False
Field type

bool Field

Apply isolated limitation?

doRequireFiniteRaDec

Default
False
Field type

bool Field

Apply finite sky coordinate check?

doRequirePrimary

Default
False
Field type

bool Field

Apply source is primary check?

doSignalToNoise

Default
False
Field type

bool Field

Apply signal-to-noise limit?

doSkySources

Default
False
Field type

bool Field

Include sky sources, unioned with all other criteria?

doUnresolved

Default
False
Field type

bool Field

Apply unresolved limitation?

flags

Data type

lsst.meas.algorithms.sourceSelector.RequireFlags

Field type

ConfigField

Flags to require

fluxLimit

Data type

lsst.meas.algorithms.sourceSelector.FluxLimit

Field type

ConfigField

Flux limit to apply

isolated

Data type

lsst.meas.algorithms.sourceSelector.RequireIsolated

Field type

ConfigField

Isolated criteria to apply

requireFiniteRaDec

Data type

lsst.meas.algorithms.sourceSelector.RequireFiniteRaDec

Field type

ConfigField

Finite sky coordinate criteria to apply

requirePrimary

Data type

lsst.meas.algorithms.sourceSelector.RequirePrimary

Field type

ConfigField

Primary source criteria to apply

signalToNoise

Data type

lsst.meas.algorithms.sourceSelector.SignalToNoiseLimit

Field type

ConfigField

Signal-to-noise limit to apply

skyFlag

Data type

lsst.meas.algorithms.sourceSelector.RequireFlags

Field type

ConfigField

Sky source flag to include

unresolved

Data type

lsst.meas.algorithms.sourceSelector.RequireUnresolved

Field type

ConfigField

Star/galaxy separation to apply