ObservationIdentifiers

class lsst.cell_coadds.ObservationIdentifiers(instrument: str, physical_filter: str, packed: int, visit: int, day_obs: int, detector: int)

Bases: object

Struct of identifiers for an observation that contributed to a coadd cell.

Methods Summary

from_data_id(data_id, *[, backup_detector])

Construct from a data ID.

Methods Documentation

classmethod from_data_id(data_id: DataCoordinate, *, backup_detector: int = -1) ObservationIdentifiers

Construct from a data ID.

Parameters:
data_idDataCoordinate

Fully-expanded data ID that includes the ‘visit’, ‘detector’ and ‘day_obs’ dimensions.

backup_detectorint, optional

Detector ID to use as a backup if not present in data_id. This is not used if detector information is available in data_id and does not override it.

Returns:
identifiersObservationIdentifiers

Struct of identifiers for this observation.