LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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: