Last change
on this file since 2582 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
|
Line | |
---|
1 | // Utilisation des flots d'entree-sortie C++
|
---|
2 | #include <iostream>
|
---|
3 | // Utilisation de la classe LocalMap<T>
|
---|
4 | #include "ntoolsinit.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 |
|
---|
13 | int 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.