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: - datasetType : DatasetType
- scalar : bool
- Trueif this is a scalar dataset.
- manualLoad : bool
- Trueif this dataset will be manually loaded by a concrete- PipelineTaskinstead of loaded automatically by the base class.
 - Attributes Summary - datasetType- DatasetTypeinstance.- manualLoad- Trueif the task will handle loading the data- scalar- Trueif 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, or- InitOutputDatasetConfigtypes
 - Returns: - descriptor : DatasetTypeDescriptor
 
- datasetConfig : 
 
- datasetType :