LegacyTractBuilder#
- class lsst.skymap.LegacyTractBuilder(config)#
Bases:
BaseTractBuilderMethods Summary
getPackedConfig(config)Get a packed config suitable for using in a sha1.
getPatchInfo(index, tractWcs)Return information for the specified patch.
Methods Documentation
- getPackedConfig(config)#
Get a packed config suitable for using in a sha1.
Parameters#
config :
lsst.skymap.BaseTractBuilderConfigReturns#
configPacked :
bytes
- getPatchInfo(index, tractWcs)#
Return information for the specified patch.
Parameters#
- index
lsst.skymap.Index2DorIterableof 2int 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.
- index