DatasetAssociation

class lsst.daf.butler.DatasetAssociation(ref: lsst.daf.butler.core.datasets.ref.DatasetRef, collection: str, timespan: Optional[lsst.daf.butler.core.timespan.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

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).