ObservationIdentifiers#

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

Bases: BaseIdentifiers

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

Attributes Summary

ccd

Alias for the detector.

day_obs

A day and night of observations that rolls over during daylight hours.

detector

Unique identifier for the detector.

instrument

Name of the instrument that this observation was taken with.

physical_filter

Name of the physical filter that this observation was taken with.

visit

Unique identifier for the visit.

Methods Summary

from_data_id(data_id, *[, backup_detector])

Construct from a data ID.

Attributes Documentation

ccd#

Alias for the detector.

This is provided for compatibility with the older API.

day_obs: int = <dataclasses._MISSING_TYPE object>#

A day and night of observations that rolls over during daylight hours. The identifier is an decimal integer-concatenated date, i.e. YYYYMMDD, with the exact rollover time observatory-dependent.

detector: int = <dataclasses._MISSING_TYPE object>#

Unique identifier for the detector.

instrument: str = <dataclasses._MISSING_TYPE object>#

Name of the instrument that this observation was taken with.

physical_filter: str = <dataclasses._MISSING_TYPE object>#

Name of the physical filter that this observation was taken with.

visit: int = <dataclasses._MISSING_TYPE object>#

Unique identifier for the visit.

A visit may be comprised of more than one exposure only if all were observed back-to-back with no dithers, allowing them to be combined early the processing with no resampling. All detector-level images in a visit share the same visit 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.