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