DatasetTypeDescriptor¶
-
class
lsst.pipe.base.DatasetTypeDescriptor(datasetType, scalar, manualLoad)¶ Bases:
objectDescribe 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: - datasetType :
DatasetType - scalar :
bool Trueif this is a scalar dataset.- manualLoad :
bool Trueif this dataset will be manually loaded by a concretePipelineTaskinstead of loaded automatically by the base class.
Attributes Summary
datasetTypeDatasetTypeinstance.manualLoadTrueif the task will handle loading the datascalarTrueif this is a scalar dataset.Methods Summary
fromConfig(datasetConfig)Make DatasetTypeDescriptor instance from configuration object. Attributes Documentation
-
datasetType¶ DatasetTypeinstance.
Methods Documentation
-
classmethod
fromConfig(datasetConfig)¶ Make DatasetTypeDescriptor instance from configuration object.
Parameters: - datasetConfig :
lsst.pex.config.Config Instance of one the
InputDatasetConfig,OutputDatasetConfig,InitInputDatasetConfig, orInitOutputDatasetConfigtypes
Returns: - descriptor :
DatasetTypeDescriptor
- datasetConfig :
- datasetType :