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_extent()Get the extension of the projection plane. get_fov()get_proj_plane_info()ij2xy([i, j])From image array indices to position in projection plane (Cartesian). mkcoord(coord)projmap(map, vec2pix_func[, rot, coord])Create an array containing the projection of the map. set_flip(flipconv)flipconv is either ‘astro’ or ‘geo’. None will be default. set_proj_plane_info(xsize, ysize, lonra, latra)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).