# healpy.projector.CartesianProj¶

class healpy.projector.CartesianProj(rot=None, coord=None, xsize=800, ysize=None, lonra=None, latra=None, **kwds)

This class provides class methods for Cartesian 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 (Cartesian). 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 (Cartesian). 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 (Cartesian). xy2ang(self, x[, y, lonlat, direct]) From position in the projection plane to angular direction (Cartesian). xy2ij(self, x[, y]) From position in the projection plane to image array index (Cartesian). xy2vec(self, x[, y, direct]) From position in the projection plane to unit vector direction (Cartesian).
 get_proj_plane_info mkcoord set_proj_plane_info