lsst.skymap  15.0-5-gb31927c
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 getPolygon (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 29 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 35 of file patchInfo.py.

Member Function Documentation

◆ __eq__()

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

Definition at line 72 of file patchInfo.py.

◆ __ne__()

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

Definition at line 79 of file patchInfo.py.

◆ __repr__()

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

Definition at line 89 of file patchInfo.py.

◆ __str__()

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

Definition at line 84 of file patchInfo.py.

◆ getIndex()

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

Definition at line 48 of file patchInfo.py.

◆ getInnerBBox()

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

Definition at line 53 of file patchInfo.py.

◆ getOuterBBox()

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

Definition at line 58 of file patchInfo.py.

◆ getPolygon()

def lsst.skymap.patchInfo.PatchInfo.getPolygon (   self,
  tractWcs 
)
Return a patch out bbox as a sphgeom.ConvexPolygon.

Definition at line 63 of file patchInfo.py.


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