|
lsst.obs.base
20.0.0-69-g8f355a9+701c885a11
|
Public Member Functions | |
| Iterable[VisitDefinitionData] | group (self, List[DimensionRecord] exposures) |
| Tuple[int, str] | getVisitSystem (self) |
Static Public Attributes | |
| ConfigClass = _GroupExposuresByGroupMetadataConfig | |
| registry | |
An exposure grouping algorithm that uses exposure.group_name and exposure.group_id. This algorithm _assumes_ exposure.group_id (generally populated from `astro_metadata_translator.ObservationInfo.visit_id`) is not just unique, but disjoint from all `ObservationInfo.exposure_id` values - if it isn't, it will be impossible to ever use both this grouping algorithm and the one-to-one algorithm for a particular camera in the same data repository.
Definition at line 627 of file defineVisits.py.
| Tuple[int, str] lsst.obs.base.defineVisits._GroupExposuresByGroupMetadataTask.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 from lsst.obs.base.defineVisits.GroupExposuresTask.
Definition at line 653 of file defineVisits.py.
| Iterable[VisitDefinitionData] lsst.obs.base.defineVisits._GroupExposuresByGroupMetadataTask.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 from lsst.obs.base.defineVisits.GroupExposuresTask.
Definition at line 640 of file defineVisits.py.
|
static |
Definition at line 638 of file defineVisits.py.
|
staticinherited |
Definition at line 131 of file defineVisits.py.
1.8.18