ObservationIdentifiers#
- class lsst.cell_coadds.ObservationIdentifiers(instrument: str, physical_filter: str, visit: int, day_obs: int, detector: int)#
Bases:
BaseIdentifiersStruct of identifiers for an observation that contributed to a coadd cell.
Attributes Summary
Alias for the detector.
A day and night of observations that rolls over during daylight hours.
Unique identifier for the detector.
Name of the instrument that this observation was taken with.
Name of the physical filter that this observation was taken with.
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_id
DataCoordinate Fully-expanded data ID that includes the ‘visit’, ‘detector’ and ‘day_obs’ dimensions.
- backup_detector
int, optional Detector ID to use as a backup if not present in
data_id. This is not used if detector information is available indata_idand does not override it.
Returns#
- identifiers
ObservationIdentifiers Struct of identifiers for this observation.
- data_id