Last change
on this file since 2479 was 1196, checked in by ansari, 25 years ago |
Introduction de la classe HEALPix pour accrocher les methodes de
converion angle<>index
rajout en methodes inline static de ces methodes de conversion pour
SphereHEALPix<T>
+ Autre modifs cosmetiques + MAJ Makefile , Reza 21/9/2000
|
File size:
734 bytes
|
Line | |
---|
1 | #ifndef HEALPixUtils_SEEN
|
---|
2 | #define HEALPixUtils_SEEN
|
---|
3 | #include "machdefs.h"
|
---|
4 | #include "ndatablock.h"
|
---|
5 |
|
---|
6 | // utilitaires de pixelisation HEALPix
|
---|
7 |
|
---|
8 |
|
---|
9 | namespace SOPHYA {
|
---|
10 |
|
---|
11 | // Utility class to compute index to/from angle conversion in HEALPix
|
---|
12 | // spherical map pixelisation
|
---|
13 |
|
---|
14 | class HEALPix {
|
---|
15 | public :
|
---|
16 | static int_4 nest2ring(int_4 nside,int_4 ipnest) ;
|
---|
17 | static int_4 ring2nest(int_4 nside,int_4 ipring) ;
|
---|
18 |
|
---|
19 | static int_4 ang2pix_ring(int_4 nside,double theta,double phi) ;
|
---|
20 | static int_4 ang2pix_nest(int_4 nside,double theta,double phi) ;
|
---|
21 | static void pix2ang_ring(int_4 nside,int_4 ipix,double& theta,double& phi) ;
|
---|
22 | static void pix2ang_nest(int_4 nside,int_4 ipix,double& theta,double& phi) ;
|
---|
23 | };
|
---|
24 |
|
---|
25 |
|
---|
26 |
|
---|
27 | } // Fin du namespace
|
---|
28 |
|
---|
29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.