source: Sophya/trunk/SophyaProg/Tests/fitsioGorski.cc@ 768

Last change on this file since 768 was 768, checked in by ansari, 26 years ago

Reorganisation - PeidaInit() -> SophyaInit() - Reza 2/3/2000

File size: 659 bytes
Line 
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#include "skymapinit.h"
12
13int main()
14{
15
16 // ----- ATTENTION -------
17 // Initialisation de Sophya
18 // A faire au debut de main()
19 SophyaInit();
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.