lsst.skymap  16.0-1-g4515a79+6
Public Member Functions | List of all members
lsst.skymap.patchInfo.PatchInfo Class Reference

Public Member Functions

def __init__ (self, index, innerBBox, outerBBox)
 
def getIndex (self)
 
def getInnerBBox (self)
 
def getOuterBBox (self)
 
def getInnerSkyPolygon (self, tractWcs)
 
def getOuterSkyPolygon (self, tractWcs)
 
def __eq__ (self, rhs)
 
def __ne__ (self, rhs)
 
def __str__ (self)
 
def __repr__ (self)
 

Detailed Description

Information about a patch within a tract of a sky map

See TractInfo for more information.

Definition at line 49 of file patchInfo.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.skymap.patchInfo.PatchInfo.__init__ (   self,
  index,
  innerBBox,
  outerBBox 
)
Construct a PatchInfo

@param[in] index: x,y index of patch (a pair of ints)
@param[in] innerBBox: inner bounding box (an afwGeom.Box2I)
@param[in] outerBBox: inner bounding box (an afwGeom.Box2I)

Definition at line 55 of file patchInfo.py.

Member Function Documentation

◆ __eq__()

def lsst.skymap.patchInfo.PatchInfo.__eq__ (   self,
  rhs 
)
Support ==

Definition at line 93 of file patchInfo.py.

◆ __ne__()

def lsst.skymap.patchInfo.PatchInfo.__ne__ (   self,
  rhs 
)
Support !=

Definition at line 100 of file patchInfo.py.

◆ __repr__()

def lsst.skymap.patchInfo.PatchInfo.__repr__ (   self)
Return a detailed string representation

Definition at line 110 of file patchInfo.py.

◆ __str__()

def lsst.skymap.patchInfo.PatchInfo.__str__ (   self)
Return a brief string representation

Definition at line 105 of file patchInfo.py.

◆ getIndex()

def lsst.skymap.patchInfo.PatchInfo.getIndex (   self)
Return patch index: a tuple of (x, y)

Definition at line 68 of file patchInfo.py.

◆ getInnerBBox()

def lsst.skymap.patchInfo.PatchInfo.getInnerBBox (   self)
Get inner bounding box

Definition at line 73 of file patchInfo.py.

◆ getInnerSkyPolygon()

def lsst.skymap.patchInfo.PatchInfo.getInnerSkyPolygon (   self,
  tractWcs 
)
Get the inner on-sky region as an sphgeom.ConvexPolygon.

Definition at line 83 of file patchInfo.py.

◆ getOuterBBox()

def lsst.skymap.patchInfo.PatchInfo.getOuterBBox (   self)
Get outer bounding box

Definition at line 78 of file patchInfo.py.

◆ getOuterSkyPolygon()

def lsst.skymap.patchInfo.PatchInfo.getOuterSkyPolygon (   self,
  tractWcs 
)
Get the outer on-sky region as a sphgeom.ConvexPolygon.

Definition at line 88 of file patchInfo.py.


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