| Rev | Line |   | 
|---|
| [571] | 1 | // Utilisation des flots d'entree-sortie C++
 | 
|---|
 | 2 | #include <iostream.h>
 | 
|---|
 | 3 | // Utilisation de la classe LocalMap<T>
 | 
|---|
| [837] | 4 | #include "ntoolsinit.h"
 | 
|---|
| [571] | 5 | #include "spheregorski.h"
 | 
|---|
 | 6 | #include "ntuple.h"
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | // Utilisation des generateurs aleatoires
 | 
|---|
 | 9 | #include "nbrandom.h"
 | 
|---|
 | 10 | #include "fitsioserver.h" 
 | 
|---|
| [768] | 11 | #include "skymapinit.h"
 | 
|---|
 | 12 | 
 | 
|---|
| [571] | 13 | int main()
 | 
|---|
 | 14 | {
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 |   // ----- ATTENTION -------
 | 
|---|
| [768] | 17 |   // Initialisation de Sophya
 | 
|---|
| [571] | 18 |   // A faire au debut de main()
 | 
|---|
| [768] | 19 |   SophyaInit();
 | 
|---|
| [571] | 20 | 
 | 
|---|
 | 21 |   int m=4;
 | 
|---|
 | 22 |   SphereGorski<float> sph(m);
 | 
|---|
 | 23 |   cout << " nombre de pixels: " << sph.NbPixels() << endl;
 | 
|---|
 | 24 |   FitsIoServer fserv;
 | 
|---|
 | 25 |   fserv.load(sph, "map_essai.fits",2);
 | 
|---|
 | 26 |   //sph.print(cout);
 | 
|---|
 | 27 |    fserv.Mollweide_picture_projection(sph, "dessin.fits");
 | 
|---|
 | 28 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.