DatasetAssociation

class lsst.daf.butler.DatasetAssociation(ref: DatasetRef, collection: str, timespan: Optional[Timespan])

Bases: object

Class representing the membership of a dataset in a single collection.

One dataset is associated with one collection, possibly including a timespan.

Attributes Summary

collection

Name of a collection (str).

ref

Resolved reference to a dataset (DatasetRef).

timespan

Validity range of the dataset if this is a CALIBRATION collection (Timespan or None).

Attributes Documentation

collection: str

Name of a collection (str).

ref: DatasetRef

Resolved reference to a dataset (DatasetRef).

timespan: Optional[Timespan]

Validity range of the dataset if this is a CALIBRATION collection (Timespan or None).