healpy.projaxes.SphericalProjAxes¶
- class healpy.projaxes.SphericalProjAxes(ProjClass, *args, **kwds)¶
Define a special Axes to take care of spherical projection.
Parameters: projection : a SphericalProj class or a class derived from it.
type of projection
rot : list or string
define rotation. See rotator.
coord : list or string
define coordinate system. See rotator.
coordprec : number of digit after floating point for coordinates display.
format : format string for value display.
Notes
Other keywords from Axes (see Axes).
Methods
delgraticules() Delete all graticules previously created on the Axes. format_coord(x, y) Format the coordinate for display in status bar. get_lonlat(x, y) Get the coordinate in the coord system of the image, in lon/lat in deg. get_meridian_interval(vx[, vy, vz]) Get the min and max value of phi of the meridians to cover the field of view. get_parallel_interval(vx[, vy, vz]) Get the min and max value of theta of the parallel to cover the field of view. get_value(x, y) Get the value of the map at position x,y graticule([dpar, dmer, coord, local, verbose]) Draw a graticule. projmap(map, vec2pix_func[, vmin, vmax, ...]) Project a map on the SphericalProjAxes. projplot(*args, **kwds) projplot is a wrapper around matplotlib.Axes.plot() to take into account the projscatter(theta[, phi]) Projscatter is a wrapper around matplotlib.Axes.scatter() to take into account the spherical projection. projtext(theta, phi, s, **kwds) Projtext is a wrapper around matplotlib.Axes.text() to take into account the spherical projection. set_coordprec(n) Set the number of digits after floating point for coord display. set_format(f) Set the format string for value display