lsst.skymap ga8c6da7877+9e19bcbf48
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
lsst.skymap.tractBuilder.LegacyTractBuilder Class Reference
Inheritance diagram for lsst.skymap.tractBuilder.LegacyTractBuilder:
lsst.skymap.tractBuilder.BaseTractBuilder

Public Member Functions

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

Static Public Attributes

 ConfigClass = LegacyTractBuilderConfig
 

Protected Attributes

 _patchInnerDimensions
 
 _patchBorder
 
 _initialized
 
 _tractBBox
 

Detailed Description

Definition at line 212 of file tractBuilder.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.skymap.tractBuilder.LegacyTractBuilder.__init__ ( self,
config )

Reimplemented from lsst.skymap.tractBuilder.BaseTractBuilder.

Definition at line 215 of file tractBuilder.py.

Member Function Documentation

◆ getPackedConfig()

lsst.skymap.tractBuilder.LegacyTractBuilder.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 255 of file tractBuilder.py.

◆ getPatchInfo()

lsst.skymap.tractBuilder.LegacyTractBuilder.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 223 of file tractBuilder.py.

Member Data Documentation

◆ _initialized

lsst.skymap.tractBuilder.LegacyTractBuilder._initialized
protected

Definition at line 221 of file tractBuilder.py.

◆ _patchBorder

lsst.skymap.tractBuilder.LegacyTractBuilder._patchBorder
protected

Definition at line 220 of file tractBuilder.py.

◆ _patchInnerDimensions

lsst.skymap.tractBuilder.LegacyTractBuilder._patchInnerDimensions
protected

Definition at line 218 of file tractBuilder.py.

◆ _tractBBox

lsst.skymap.tractBuilder.LegacyTractBuilder._tractBBox
protected

Definition at line 243 of file tractBuilder.py.

◆ ConfigClass

lsst.skymap.tractBuilder.LegacyTractBuilder.ConfigClass = LegacyTractBuilderConfig
static

Definition at line 213 of file tractBuilder.py.


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