lsst.pipe.base  16.0-16-ge6a35c8+3
Public Member Functions | List of all members
lsst.pipe.base.pipelineTask.DatasetTypeDescriptor Class Reference

Public Member Functions

def __init__ (self, datasetType, scalar)
 
def fromConfig (cls, datasetConfig)
 
def datasetType (self)
 
def scalar (self)
 

Detailed Description

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`
    `True` if this is a scalar dataset.

Definition at line 49 of file pipelineTask.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.base.pipelineTask.DatasetTypeDescriptor.__init__ (   self,
  datasetType,
  scalar 
)

Definition at line 64 of file pipelineTask.py.

Member Function Documentation

◆ datasetType()

def lsst.pipe.base.pipelineTask.DatasetTypeDescriptor.datasetType (   self)
`DatasetType` instance.

Definition at line 90 of file pipelineTask.py.

◆ fromConfig()

def lsst.pipe.base.pipelineTask.DatasetTypeDescriptor.fromConfig (   cls,
  datasetConfig 
)
Make DatasetTypeDescriptor instance from configuration object.

Parameters
----------
datasetConfig : `lsst.pex.config.Config`
    Instance of one the `InputDatasetConfig`, `OutputDatasetConfig`,
    `InitInputDatasetConfig`, or `InitOutputDatasetConfig` types

Returns
-------
descriptor : `DatasetTypeDescriptor`

Definition at line 69 of file pipelineTask.py.

◆ scalar()

def lsst.pipe.base.pipelineTask.DatasetTypeDescriptor.scalar (   self)
`True` if this is a scalar dataset.

Definition at line 96 of file pipelineTask.py.


The documentation for this class was generated from the following file: