# healpy.projector.SphericalProj¶

class healpy.projector.SphericalProj(rot=None, coord=None, flipconv=None, **kwds)

This class defines functions for spherical projection.

This class contains class method for spherical projection computation. It should not be instantiated. It should be inherited from and methods should be overloaded for desired projection.

Attributes
arrayinfo

Dictionary with information on the projection array

Methods

 ang2xy(self, theta[, phi, lonlat, direct]) From angular direction to position in the projection plane (%s). get_center(self[, lonlat]) Get the center of the projection. get_extent(self) Get the extension of the projection plane. get_fov(self) Get the field of view in degree of the plane of projection ij2xy(self[, i, j]) From image array indices to position in projection plane (%s). projmap(self, map, vec2pix_func[, rot, coord]) Create an array containing the projection of the map. set_flip(self, flipconv) flipconv is either ‘astro’ or ‘geo’. vec2xy(self, vx[, vy, vz, direct]) From unit vector direction to position in the projection plane (%s). xy2ang(self, x[, y, lonlat, direct]) From position in the projection plane to angular direction (%s). xy2ij(self, x[, y]) From position in the projection plane to image array index (%s). xy2vec(self, x[, y, direct]) From position in the projection plane to unit vector direction (%s).
 get_proj_plane_info mkcoord set_proj_plane_info