lsst.skymap ga8c6da7877+aa12a14d27
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected 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

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

Static Public Attributes

 ConfigClass = CellTractBuilderConfig
 

Protected Attributes

 _cellInnerDimensions
 
 _cellBorder
 
 _numCellsPerPatchInner
 
 _numCellsInPatchBorder
 
 _patchInnerDimensions
 
 _patchBorder
 
 _initialized
 
 _tractBBox
 

Detailed Description

Definition at line 302 of file tractBuilder.py.

Constructor & Destructor Documentation

◆ __init__()

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()

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 356 of file tractBuilder.py.

◆ getPatchInfo()

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

Parameters
----------
index : `lsst.skymap.Index2D` or `~collections.abc.Iterable` of 2 `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
    Raised if index is out of range.

Reimplemented from lsst.skymap.tractBuilder.BaseTractBuilder.

Definition at line 320 of file tractBuilder.py.

Member Data Documentation

◆ _cellBorder

lsst.skymap.tractBuilder.CellTractBuilder._cellBorder
protected

Definition at line 310 of file tractBuilder.py.

◆ _cellInnerDimensions

lsst.skymap.tractBuilder.CellTractBuilder._cellInnerDimensions
protected

Definition at line 308 of file tractBuilder.py.

◆ _initialized

lsst.skymap.tractBuilder.CellTractBuilder._initialized
protected

Definition at line 318 of file tractBuilder.py.

◆ _numCellsInPatchBorder

lsst.skymap.tractBuilder.CellTractBuilder._numCellsInPatchBorder
protected

Definition at line 312 of file tractBuilder.py.

◆ _numCellsPerPatchInner

lsst.skymap.tractBuilder.CellTractBuilder._numCellsPerPatchInner
protected

Definition at line 311 of file tractBuilder.py.

◆ _patchBorder

lsst.skymap.tractBuilder.CellTractBuilder._patchBorder
protected

Definition at line 317 of file tractBuilder.py.

◆ _patchInnerDimensions

lsst.skymap.tractBuilder.CellTractBuilder._patchInnerDimensions
protected

Definition at line 313 of file tractBuilder.py.

◆ _tractBBox

lsst.skymap.tractBuilder.CellTractBuilder._tractBBox
protected

Definition at line 340 of file tractBuilder.py.

◆ 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: