lsst.obs.base
20.0.0-52-g73d9071+9bf1eb8e0a
|
Public Member Functions | |
def | __init__ (self, GroupExposuresConfig config, **Any kwargs) |
Iterable[VisitDefinitionData] | group (self, List[DimensionRecord] exposures) |
Tuple[int, str] | getVisitSystem (self) |
Static Public Attributes | |
ConfigClass = GroupExposuresConfig | |
registry | |
Abstract base class for the subtask of `DefineVisitsTask` that is responsible for grouping exposures into visits. Subclasses should be registered with `GroupExposuresTask.registry` to enable use by `DefineVisitsTask`, and should generally correspond to a particular 'visit_system' dimension value. They are also responsible for defining visit IDs and names that are unique across all visit systems in use by an instrument. Parameters ---------- config : `GroupExposuresConfig` Configuration information. **kwargs Additional keyword arguments forwarded to the `Task` constructor.
Definition at line 107 of file defineVisits.py.
def lsst.obs.base.defineVisits.GroupExposuresTask.__init__ | ( | self, | |
GroupExposuresConfig | config, | ||
**Any | kwargs | ||
) |
Definition at line 124 of file defineVisits.py.
Tuple[int, str] lsst.obs.base.defineVisits.GroupExposuresTask.getVisitSystem | ( | self | ) |
Return identifiers for the 'visit_system' dimension this algorithm implements. Returns ------- id : `int` Integer ID for the visit system (given an instrument). name : `str` Unique string identifier for the visit system (given an instrument).
Reimplemented in lsst.obs.base.defineVisits._GroupExposuresByGroupMetadataTask, and lsst.obs.base.defineVisits._GroupExposuresOneToOneTask.
Definition at line 155 of file defineVisits.py.
Iterable[VisitDefinitionData] lsst.obs.base.defineVisits.GroupExposuresTask.group | ( | self, | |
List[DimensionRecord] | exposures | ||
) |
Group the given exposures into visits. Parameters ---------- exposures : `list` [ `DimensionRecord` ] DimensionRecords (for the 'exposure' dimension) describing the exposures to group. Returns ------- visits : `Iterable` [ `VisitDefinitionData` ] Structs identifying the visits and the exposures associated with them. This may be an iterator or a container.
Reimplemented in lsst.obs.base.defineVisits._GroupExposuresByGroupMetadataTask, and lsst.obs.base.defineVisits._GroupExposuresOneToOneTask.
Definition at line 137 of file defineVisits.py.
|
static |
Definition at line 127 of file defineVisits.py.
|
static |
Definition at line 131 of file defineVisits.py.