lsst.skymap gd8df4e7cf5+96b31407f9
Public Member Functions | Static Public Attributes | List of all members
lsst.skymap.tractBuilder.CellTractBuilder Class Reference
Inheritance diagram for lsst.skymap.tractBuilder.CellTractBuilder:
lsst.skymap.tractBuilder.BaseTractBuilder

Public Member Functions

def __init__ (self, config)
 
def getPatchInfo (self, index, tractWcs)
 
def getPackedConfig (self, config)
 

Static Public Attributes

 ConfigClass = CellTractBuilderConfig
 

Detailed Description

Definition at line 302 of file tractBuilder.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.skymap.tractBuilder.CellTractBuilder.__init__ (   self,
  config 
)

Reimplemented from lsst.skymap.tractBuilder.BaseTractBuilder.

Definition at line 305 of file tractBuilder.py.

Member Function Documentation

◆ getPackedConfig()

def lsst.skymap.tractBuilder.CellTractBuilder.getPackedConfig (   self,
  config 
)
Get a packed config suitable for using in a sha1.

Parameters
----------
config : `lsst.skymap.BaseTractBuilderConfig`

Returns
-------
configPacked : `bytes`

Reimplemented from lsst.skymap.tractBuilder.BaseTractBuilder.

Definition at line 355 of file tractBuilder.py.

◆ getPatchInfo()

def lsst.skymap.tractBuilder.CellTractBuilder.getPatchInfo (   self,
  index,
  tractWcs 
)
Return information for the specified patch.

Parameters
----------
index : `lsst.skymap.Index2D` or `Iterable` [`int`, `int`]
    Index of patch, as Index2D or pair of ints;
    or a sequential index as returned by getSequentialPatchIndex;
    negative values are not supported.
tractWcs : `lsst.afw.geom.SkyWcs`
    WCS associated with the tract.

Returns
-------
result : `lsst.skymap.PatchInfo`
    The patch info for that index.

Raises
------
IndexError
    If index is out of range.

Reimplemented from lsst.skymap.tractBuilder.BaseTractBuilder.

Definition at line 319 of file tractBuilder.py.

Member Data Documentation

◆ ConfigClass

lsst.skymap.tractBuilder.CellTractBuilder.ConfigClass = CellTractBuilderConfig
static

Definition at line 303 of file tractBuilder.py.


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