DatasetTypeDescriptor¶
-
class
lsst.pipe.base.
DatasetTypeDescriptor
(datasetType, scalar, manualLoad)¶ Bases:
object
Describe DatasetType and its options for PipelineTask.
This class contains DatasetType and all relevant options that are used by PipelineTask. Typically this is derived from configuration classes but sub-classes of PipelineTask can also define additional DatasetTypes that are not part of the task configuration.
Parameters: Attributes Summary
datasetType
DatasetType
instance.manualLoad
True
if the task will handle loading the datascalar
True
if this is a scalar dataset.Methods Summary
fromConfig
(datasetConfig)Make DatasetTypeDescriptor instance from configuration object. Attributes Documentation
-
datasetType
¶ DatasetType
instance.
Methods Documentation
-
classmethod
fromConfig
(datasetConfig)¶ Make DatasetTypeDescriptor instance from configuration object.
Parameters: - datasetConfig :
lsst.pex.config.Config
Instance of one the
InputDatasetConfig
,OutputDatasetConfig
,InitInputDatasetConfig
, orInitOutputDatasetConfig
types
Returns: - descriptor :
DatasetTypeDescriptor
- datasetConfig :
-