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

Last change on this file since 2609 was 2322, checked in by cmv, 23 years ago
  • passage xxstream.h en xxstream
  • compile avec gcc_3.2, gcc_2.96 et cxx En 3.2 le seek from ::end semble marcher (voir Eval/COS/pbseekios.cc)

rz+cmv 11/2/2003

File size: 657 bytes
RevLine 
[571]1// Utilisation des flots d'entree-sortie C++
[2322]2#include <iostream>
[571]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]13int 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.