GammaLib
2.0.0
|
HealPix projection class implementation. More...
#include <cmath>
#include "GException.hpp"
#include "GTools.hpp"
#include "GMath.hpp"
#include "GVector.hpp"
#include "GSkyDirs.hpp"
#include "GHealpix.hpp"
Go to the source code of this file.
Macros | |
#define | G_CONSTRUCT "GHealpix::GHealpix(int& ,std::string& ,std::string&)" |
#define | G_READ "GHealpix::read(GFitsHDU&)" |
#define | G_XY2DIR "GHealpix::xy2dir(GSkyPixel&)" |
#define | G_DIR2XY2 "GHealpix::dir2xy(GSkyDir&)" |
#define | G_NEST2RING "GHealpix::nest2ring(int&)" |
#define | G_RING2NEST "GHealpix::ring2nest(int&)" |
#define | G_PIX2ANG_RING "GHealpix::pix2ang_ring(int, double*, double*)" |
#define | G_PIX2ANG_NEST "GHealpix::pix2ang_nest(int, double*, double*)" |
#define | G_ORDERING_SET "GHealpix::ordering(std::string&)" |
#define | G_INTERPOLATOR "GHealpix::interpolator(double&, double&)" |
#define | G_NEIGHBOURS "GHealpix::neighbours(GSkyPixel&)" |
#define | G_BOUNDARIES "GHealpix::boundaries(GSkyPixel&, int&)" |
Variables | |
const int | jrll [12] = {2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4} |
const int | jpll [12] = {1, 3, 5, 7, 0, 2, 4, 6, 1, 3, 5, 7} |
const int | nb_xoffset [] = {-1,-1, 0, 1, 1, 1, 0,-1} |
const int | nb_yoffset [] = { 0, 1, 1, 1, 0,-1,-1,-1} |
const int | nb_facearray [][12] |
const int | nb_swaparray [][3] |
const int | order_max = 13 |
const int | ns_max = 1 << order_max |
static short | ctab [0x100] |
static short | utab [0x100] |
HealPix projection class implementation.
Definition in file GHealpix.cpp.
#define G_BOUNDARIES "GHealpix::boundaries(GSkyPixel&, int&)" |
Definition at line 51 of file GHealpix.cpp.
Referenced by GHealpix::boundaries().
#define G_CONSTRUCT "GHealpix::GHealpix(int& ,std::string& ,std::string&)" |
Definition at line 40 of file GHealpix.cpp.
Referenced by GHealpix::GHealpix().
#define G_DIR2XY2 "GHealpix::dir2xy(GSkyDir&)" |
Definition at line 43 of file GHealpix.cpp.
#define G_INTERPOLATOR "GHealpix::interpolator(double&, double&)" |
Definition at line 49 of file GHealpix.cpp.
Referenced by GHealpix::interpolator().
#define G_NEIGHBOURS "GHealpix::neighbours(GSkyPixel&)" |
Definition at line 50 of file GHealpix.cpp.
Referenced by GHealpix::neighbours().
#define G_NEST2RING "GHealpix::nest2ring(int&)" |
Definition at line 44 of file GHealpix.cpp.
Referenced by GHealpix::nest2ring().
#define G_ORDERING_SET "GHealpix::ordering(std::string&)" |
Definition at line 48 of file GHealpix.cpp.
Referenced by GHealpix::ordering().
#define G_PIX2ANG_NEST "GHealpix::pix2ang_nest(int, double*, double*)" |
Definition at line 47 of file GHealpix.cpp.
Referenced by GHealpix::pix2ang_nest().
#define G_PIX2ANG_RING "GHealpix::pix2ang_ring(int, double*, double*)" |
Definition at line 46 of file GHealpix.cpp.
Referenced by GHealpix::pix2ang_ring().
#define G_READ "GHealpix::read(GFitsHDU&)" |
Definition at line 41 of file GHealpix.cpp.
Referenced by GHealpix::read().
#define G_RING2NEST "GHealpix::ring2nest(int&)" |
Definition at line 45 of file GHealpix.cpp.
Referenced by GHealpix::ring2nest().
#define G_XY2DIR "GHealpix::xy2dir(GSkyPixel&)" |
Definition at line 42 of file GHealpix.cpp.
Referenced by GHealpix::pix2dir().
|
static |
Definition at line 88 of file GHealpix.cpp.
Referenced by GHealpix::compress_bits(), GHealpix::init_members(), and GHealpix::pix2xy().
const int jpll[12] = {1, 3, 5, 7, 0, 2, 4, 6, 1, 3, 5, 7} |
Definition at line 63 of file GHealpix.cpp.
Referenced by GHealpix::pix2ang_nest(), GHealpix::ring2xyf(), GHealpix::xyf2loc(), and GHealpix::xyf2ring().
const int jrll[12] = {2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4} |
Definition at line 62 of file GHealpix.cpp.
Referenced by GHealpix::pix2ang_nest(), GHealpix::ring2xyf(), GHealpix::xyf2loc(), and GHealpix::xyf2ring().
const int nb_facearray[][12] |
Definition at line 66 of file GHealpix.cpp.
Referenced by GHealpix::neighbours().
const int nb_swaparray[][3] |
Definition at line 75 of file GHealpix.cpp.
Referenced by GHealpix::neighbours().
const int nb_xoffset[] = {-1,-1, 0, 1, 1, 1, 0,-1} |
Definition at line 64 of file GHealpix.cpp.
Referenced by GHealpix::neighbours().
const int nb_yoffset[] = { 0, 1, 1, 1, 0,-1,-1,-1} |
Definition at line 65 of file GHealpix.cpp.
Referenced by GHealpix::neighbours().
const int ns_max = 1 << order_max |
Definition at line 85 of file GHealpix.cpp.
Referenced by GHealpix::ang2pix_z_phi_nest().
const int order_max = 13 |
Definition at line 84 of file GHealpix.cpp.
Referenced by GHealpix::ang2pix_z_phi_nest(), and GHealpix::nside2order().
|
static |
Definition at line 89 of file GHealpix.cpp.
Referenced by GHealpix::init_members(), GHealpix::spread_bits(), and GHealpix::xy2pix().