DatasetType¶
-
class
lsst.daf.butler.DatasetType(name, dataUnits, storageClass)¶ Bases:
objectA named category of Datasets that defines how they are organized, related, and stored.
A concrete, final class whose instances represent
DatasetTypes.DatasetTypeinstances may be constructed without aRegistry, but they must be registered viaRegistry.registerDatasetType()before corresponding Datasets may be added.DatasetTypeinstances are immutable.Parameters: - name :
str A string name for the Dataset; must correspond to the same
DatasetTypeacross all Registries.- dataUnits :
iterableofstr DataUnitnames that defines theDatasetRefs corresponding to thisDatasetType. The input iterable is copied into afrozenset.- storageClass :
StorageClass Instance of a
StorageClassthat defines how thisDatasetTypeis persisted.
- name :