| 
            Last change
 on this file since 687 was             571, checked in by ansari, 26 years ago           | 
        
        
          | 
             
ajoute test fitsio sphereGorski 
 
           | 
        
        
          | 
            File size:
            632 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [571] | 1 | // Utilisation des flots d'entree-sortie C++
 | 
|---|
 | 2 | #include <iostream.h>
 | 
|---|
 | 3 | // Utilisation de la classe LocalMap<T>
 | 
|---|
 | 4 | #include "outilsinit.h"
 | 
|---|
 | 5 | #include "spheregorski.h"
 | 
|---|
 | 6 | #include "ntuple.h"
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | // Utilisation des generateurs aleatoires
 | 
|---|
 | 9 | #include "nbrandom.h"
 | 
|---|
 | 10 | #include "fitsioserver.h" 
 | 
|---|
 | 11 | int main()
 | 
|---|
 | 12 | {
 | 
|---|
 | 13 | 
 | 
|---|
 | 14 |   // ----- ATTENTION -------
 | 
|---|
 | 15 |   // Initialisation de Peida
 | 
|---|
 | 16 |   // A faire au debut de main()
 | 
|---|
 | 17 |   PeidaInit();
 | 
|---|
 | 18 | 
 | 
|---|
 | 19 |   int m=4;
 | 
|---|
 | 20 |   SphereGorski<float> sph(m);
 | 
|---|
 | 21 |   cout << " nombre de pixels: " << sph.NbPixels() << endl;
 | 
|---|
 | 22 |   FitsIoServer fserv;
 | 
|---|
 | 23 |   fserv.load(sph, "map_essai.fits",2);
 | 
|---|
 | 24 |   //sph.print(cout);
 | 
|---|
 | 25 |    fserv.Mollweide_picture_projection(sph, "dessin.fits");
 | 
|---|
 | 26 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.