lsst.skymap gb9c20d2722+4386e1d82d
Loading...
Searching...
No Matches
lsst.skymap.tractInfo.ExplicitTractInfo Class Reference
Inheritance diagram for lsst.skymap.tractInfo.ExplicitTractInfo:
lsst.skymap.tractInfo.TractInfo

Public Member Functions

 __init__ (self, id, tractBuilder, ctrCoord, radius, tractOverlap, wcs, innerBoxCorners=None)
Public Member Functions inherited from lsst.skymap.tractInfo.TractInfo
 __init__ (self, id, tractBuilder, ctrCoord, vertexCoordList, tractOverlap, wcs, innerBoxCorners=None)
 getSequentialPatchIndex (self, patchInfo)
 getSequentialPatchIndexFromPair (self, index)
 getPatchIndexPair (self, sequentialIndex)
 findPatch (self, coord)
 findPatchList (self, coordList)
 getBBox (self)
 getCtrCoord (self)
 getId (self)
 getNumPatches (self)
 getPatchBorder (self)
 getPatchInfo (self, index)
 getPatchInnerDimensions (self)
 getTractOverlap (self)
 getVertexList (self)
 getInnerSkyPolygon (self)
 getInnerSkyRegion (self)
 getOuterSkyPolygon (self)
 getWcs (self)
 __str__ (self)
 __repr__ (self)
 __iter__ (self)
 __len__ (self)
 __getitem__ (self, index)
 contains (self, coord)

Protected Member Functions

 _minimumBoundingBox (self, wcs)
Protected Member Functions inherited from lsst.skymap.tractInfo.TractInfo
 _finalOrientation (self, bbox, wcs)

Protected Attributes

 _radius = radius
Protected Attributes inherited from lsst.skymap.tractInfo.TractInfo
 _id = id
 _ctrCoord = ctrCoord
 _vertexCoordList = tuple(vertexCoordList)
int _tractOverlap = tractOverlap
 _tractBuilder = tractBuilder
 _innerBoxCorners = innerBoxCorners
 _numPatches = self._tractBuilder.setupPatches(minBBox, wcs)
 _bbox
 _wcs = self._finalOrientation(initialBBox, wcs)

Additional Inherited Members

Properties inherited from lsst.skymap.tractInfo.TractInfo
 bbox = property(getBBox)
 ctr_coord = property(getCtrCoord)
 tract_id = property(getId)
 num_patches = property(getNumPatches)
 patch_border = property(getPatchBorder)
 patch_inner_dimensions = property(getPatchInnerDimensions)
 tract_overlap = property(getTractOverlap)
 vertex_list = property(getVertexList)
 inner_sky_polygon = property(getInnerSkyPolygon)
 inner_sky_region = property(getInnerSkyRegion)
 outer_sky_polygon = property(getOuterSkyPolygon)
 wcs = property(getWcs)

Detailed Description

Information for a tract specified explicitly.

A tract is placed at the explicitly defined coordinates, with the nominated
radius.  The tracts are square (i.e., the radius is really a half-size).

Parameters
----------
id : : `int`
    tract ID
tractBuilder : Subclass of `lsst.skymap.BaseTractBuilder`
    Object used to compute patch geometry.
ctrCoord : `lsst.geom.SpherePoint`
    ICRS sky coordinate of center of inner region of tract; also used as
    the CRVAL for the WCS.
radius : `lsst.geom.Angle`
    Radius of the tract.
tractOverlap : `lsst.geom.Angle`
    Minimum overlap between adjacent sky tracts; this defines the minimum
    distance the tract extends beyond the inner region in all directions.
wcs : `lsst.afw.image.SkyWcs`
    WCS for tract. The reference pixel will be shifted as required so that
    the lower left-hand pixel (index 0,0) has pixel position 0.0, 0.0.
innerBoxCorners : `list` [`lsst.sphgeom.LonLat`], optional
    If set then the ``inner_sky_region`` will be a `lsst.sphgeom.Box` with
    these corners as oppsed to a `lsst.sphgeom.ConvexPolygon` built from
    the ``vertex_list``.

Member Function Documentation

◆ _minimumBoundingBox()

lsst.skymap.tractInfo.ExplicitTractInfo._minimumBoundingBox ( self,
wcs )
protected
Calculate the minimum bounding box for the tract, given the WCS, and
the nominated radius.

Reimplemented from lsst.skymap.tractInfo.TractInfo.


The documentation for this class was generated from the following file:
  • python/lsst/skymap/tractInfo.py