lsst.pipe.base  20.0.0-2-g04cfba9
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.pipe.base.shims.ShimButlerSubset Class Reference

Public Member Functions

def __init__ (self, butler, datasetType, dataIds)
 
def __len__ (self)
 
def __iter__ (self)
 

Public Attributes

 butler
 
 datasetType
 

Static Public Attributes

float GENERATION = 2.5
 

Detailed Description

A shim for a Gen2 `~lsst.daf.persistence.ButlerSubset` with a Gen3
`~lsst.daf.butler.Butler` backend.

Parameters
----------
butler : `ShimButler`
    Butler shim instance.
datasetType : `str`
    Name of the dataset type.
dataIds : iterable of `dict` or `~lsst.daf.butler.DataId`
    Generation 3 data IDs that define the data in this subset.

Definition at line 193 of file shims.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.base.shims.ShimButlerSubset.__init__ (   self,
  butler,
  datasetType,
  dataIds 
)

Definition at line 211 of file shims.py.

Member Function Documentation

◆ __iter__()

def lsst.pipe.base.shims.ShimButlerSubset.__iter__ (   self)

Definition at line 219 of file shims.py.

◆ __len__()

def lsst.pipe.base.shims.ShimButlerSubset.__len__ (   self)

Definition at line 216 of file shims.py.

Member Data Documentation

◆ butler

lsst.pipe.base.shims.ShimButlerSubset.butler

Definition at line 212 of file shims.py.

◆ datasetType

lsst.pipe.base.shims.ShimButlerSubset.datasetType

Definition at line 213 of file shims.py.

◆ GENERATION

float lsst.pipe.base.shims.ShimButlerSubset.GENERATION = 2.5
static

Definition at line 207 of file shims.py.


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