#include <healpix_base.h>
Inheritance diagram for Healpix_Base:
Public Member Functions | |
Healpix_Base () | |
Healpix_Base (int order, Healpix_Ordering_Scheme scheme) | |
Healpix_Base (int nside, Healpix_Ordering_Scheme scheme, const nside_dummy) | |
int | nest2ring (int pix) const |
int | ring2nest (int pix) const |
int | ang2pix (const pointing &ang) const |
int | vec2pix (const vec3 &vec) const |
pointing | pix2ang (int pix) const |
void | query_disc (const pointing &dir, double radius, std::vector< int > &listpix) const |
void | query_disc_inclusive (const pointing &dir, double radius, std::vector< int > &listpix) const |
void | get_ring_info (int ring, int &startpix, int &ringpix, double &costheta, double &sintheta, bool &shifted) const |
void | get_ring_info2 (int ring, int &startpix, int &ringpix, double &theta, bool &shifted) const |
void | neighbors (int pix, fix_arr< int, 8 > &result) const |
void | get_interpol (const pointing &ptg, fix_arr< int, 4 > &pix, fix_arr< double, 4 > &wgt) const |
void | get_interpol2 (const pointing &ptg, fix_arr< int, 4 > &pix, fix_arr< double, 4 > &wgt) const |
int | Order () const |
int | Nside () const |
int | Npix () const |
Healpix_Ordering_Scheme | Scheme () const |
bool | conformable (const Healpix_Base &other) const |
void | swap (Healpix_Base &other) |
Static Public Member Functions | |
int | nside2order (int nside) |
int | npix2nside (int nside) |
Protected Attributes | |
int | order_ |
int | nside_ |
Healpix_Ordering_Scheme | scheme_ |
Definition at line 49 of file healpix_base.h.
|
Constructs an unallocated object. Definition at line 104 of file healpix_base.h. |
|
Constructs an object with a given order and the ordering scheme scheme. Definition at line 109 of file healpix_base.h. |
|
Constructs an object with a given nside and the ordering scheme scheme. The nside_dummy parameter must be set to SET_NSIDE. Definition at line 114 of file healpix_base.h. |
|
Calculates the map order from its N_side parameter. Returns -1 if nside is not a power of 2.
Definition at line 62 of file healpix_base.cc. |
|
Calculates the map order from its N_side parameter.
Definition at line 72 of file healpix_base.cc. |
|
Translates a pixel number from NEST to RING. Definition at line 284 of file healpix_base.cc. |
|
Translates a pixel number from RING to NEST. Definition at line 292 of file healpix_base.cc. |
|
Returns the number of the pixel which contains the angular coordinates ang. Definition at line 154 of file healpix_base.h. |
|
Returns the number of the pixel which contains the vector vec (vec is normalized if necessary). Definition at line 158 of file healpix_base.h. |
|
Returns the angular coordinates of the center of the pixel with number pix. Definition at line 396 of file healpix_base.cc. |
|
Returns the numbers of all pixels whose centers lie within radius of dir in listpix.
Definition at line 471 of file healpix_base.cc. |
|
Returns the numbers of all pixels that lie at least partially within radius of dir in listpix. It may also return a few pixels which do not lie in the disk at all.
Definition at line 182 of file healpix_base.h. |
|
Returns useful information about a given ring of the map.
Definition at line 523 of file healpix_base.cc. |
|
Returns useful information about a given ring of the map.
Definition at line 751 of file healpix_base.cc. |
|
Returns the neighboring pixels of pix in result. On exit, result contains (in this order) the pixel numbers of the SW, W, NW, N, NE, E, SE and S neighbor of pix. If a neighbor does not exist (this can only be the case for the W, N, E and S neighbors), its entry is set to -1.
Definition at line 551 of file healpix_base.cc. |
|
Returns interpolation information for the direction ptg. The surrounding pixels are returned in pix, their corresponding weights in wgt.
Definition at line 649 of file healpix_base.cc. |
|
Returns interpolation information for the direction ptg. The surrounding pixels are returned in pix, their corresponding weights in wgt.
Definition at line 776 of file healpix_base.cc. |
|
Returns the order parameter of the object. Definition at line 234 of file healpix_base.h. |
|
Returns the N_side parameter of the object. Definition at line 236 of file healpix_base.h. |
|
Returns the number of pixels of the object. Definition at line 238 of file healpix_base.h. |
|
Returns the ordering scheme of the object. Definition at line 240 of file healpix_base.h. |
|
Returns true, if both objects have the same nside and scheme, else false. Definition at line 244 of file healpix_base.h. |
|
Swaps the contents of two Healpix_Base objects. Definition at line 248 of file healpix_base.h. |
|
The order of the map; -1 for nonhierarchical map. Definition at line 68 of file healpix_base.h. |
|
The N_side parameter of the map; 0 if not allocated. Definition at line 70 of file healpix_base.h. |
|
The map's ordering scheme. Definition at line 74 of file healpix_base.h. |