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
arrayinfoDictionary with information on the projection array
Methods
ang2xy(theta[, phi, lonlat, direct])From angular direction to position in the projection plane (Cartesian).
get_center([lonlat])Get the center of the projection.
Get the extension of the projection plane.
get_fov()Get the field of view in degree of the plane of projection
ij2xy([i, j])From image array indices to position in projection plane (Cartesian).
projmap(map, vec2pix_func[, rot, coord])Create an array containing the projection of the map.
set_flip(flipconv)flipconv is either ‘astro’ or ‘geo’.
vec2xy(vx[, vy, vz, direct])From unit vector direction to position in the projection plane (Cartesian).
xy2ang(x[, y, lonlat, direct])From position in the projection plane to angular direction (Cartesian).
xy2ij(x[, y])From position in the projection plane to image array index (Cartesian).
xy2vec(x[, y, direct])From position in the projection plane to unit vector direction (Cartesian).
get_proj_plane_info
mkcoord
set_proj_plane_info