LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst.skymap.healpixSkyMap.HealpixTractInfo Class Reference
Inheritance diagram for lsst.skymap.healpixSkyMap.HealpixTractInfo:

Public Member Functions

def __init__
 

Detailed Description

Tract for the HealpixSkyMap

Definition at line 58 of file healpixSkyMap.py.

Constructor & Destructor Documentation

def lsst.skymap.healpixSkyMap.HealpixTractInfo.__init__ (   self,
  nSide,
  ident,
  nest,
  patchInnerDimensions,
  patchBorder,
  ctrCoord,
  tractOverlap,
  wcs 
)
Set vertices from nside, ident, nest

Definition at line 60 of file healpixSkyMap.py.

60 
61  def __init__(self, nSide, ident, nest, patchInnerDimensions, patchBorder, ctrCoord, tractOverlap, wcs):
62  """Set vertices from nside, ident, nest"""
63  theta, phi = healpy.vec2ang(numpy.transpose(healpy.boundaries(nSide, ident, nest=nest)))
64  vertexList = [angToCoord(thetaphi) for thetaphi in zip(theta,phi)]
65  super(HealpixTractInfo, self).__init__(ident, patchInnerDimensions, patchBorder, ctrCoord,
66  vertexList, tractOverlap, wcs)
67 

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