lsst.cp.pipe  20.0.0-16-g6fe20a1+a77778c47d
Public Member Functions | Public Attributes | List of all members
lsst.cp.pipe.astierCovFitParameters.Structure Class Reference
Inheritance diagram for lsst.cp.pipe.astierCovFitParameters.Structure:

Public Member Functions

def __init__ (self, groups)
 
def __getitem__ (self, arg)
 
def __iter__ (self)
 
def __len__ (self)
 

Public Attributes

 slices
 

Detailed Description

Collection of named slices

Slices are specified by a name and a length. If omitted, the length
default to one and the name to __0__ for the first unamed slice, __1__
for the second and so on.

Examples:
---------
>>> s = Structure([('a', 7), 3])
>>> print len(s)
10
>>> for name in s: print name
a
__0__
>>> print len(Structure([('a', 3), 'b']))
4

Definition at line 51 of file astierCovFitParameters.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.cp.pipe.astierCovFitParameters.Structure.__init__ (   self,
  groups 
)

Definition at line 69 of file astierCovFitParameters.py.

Member Function Documentation

◆ __getitem__()

def lsst.cp.pipe.astierCovFitParameters.Structure.__getitem__ (   self,
  arg 
)

Definition at line 94 of file astierCovFitParameters.py.

◆ __iter__()

def lsst.cp.pipe.astierCovFitParameters.Structure.__iter__ (   self)

Definition at line 100 of file astierCovFitParameters.py.

◆ __len__()

def lsst.cp.pipe.astierCovFitParameters.Structure.__len__ (   self)

Definition at line 103 of file astierCovFitParameters.py.

Member Data Documentation

◆ slices

lsst.cp.pipe.astierCovFitParameters.Structure.slices

Definition at line 71 of file astierCovFitParameters.py.


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