ReserveSourcesTask

ReserveSourcesTask randomly selects a fraction of sources that will be reserved from analysis to allow evaluation of the quality of model fits using sources not involved in the fitting process.

Python API summary

from lsst.meas.algorithms.reserveSourcesTask import ReserveSourcesTask
classReserveSourcesTask(columnName=None, schema=None, doc=None, **kwargs)

Reserve sources from analysis...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(sources, prior=None, expId=0)

Select sources to be reserved...

See also

See the ReserveSourcesTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

fraction

Default
0.0
Field type

float Field

Fraction of candidates to reserve from fitting; none if <= 0

seed

Default
1
Field type

int Field

This number will be added to the exposure ID to set the random seed for reserving candidates