Last change
on this file since 3071 was 2615, checked in by cmv, 21 years ago |
using namespace sophya enleve de machdefs.h, nouveau sopnamsp.h cmv 10/09/2004
|
File size:
679 bytes
|
Line | |
---|
1 | // Utilisation des flots d'entree-sortie C++
|
---|
2 | #include <iostream>
|
---|
3 | // Utilisation de la classe LocalMap<T>
|
---|
4 | #include "sopnamsp.h"
|
---|
5 | #include "ntoolsinit.h"
|
---|
6 | #include "spheregorski.h"
|
---|
7 | #include "ntuple.h"
|
---|
8 |
|
---|
9 | // Utilisation des generateurs aleatoires
|
---|
10 | #include "nbrandom.h"
|
---|
11 | #include "fitsioserver.h"
|
---|
12 | #include "skymapinit.h"
|
---|
13 |
|
---|
14 | int main()
|
---|
15 | {
|
---|
16 |
|
---|
17 | // ----- ATTENTION -------
|
---|
18 | // Initialisation de Sophya
|
---|
19 | // A faire au debut de main()
|
---|
20 | SophyaInit();
|
---|
21 |
|
---|
22 | int m=4;
|
---|
23 | SphereGorski<float> sph(m);
|
---|
24 | cout << " nombre de pixels: " << sph.NbPixels() << endl;
|
---|
25 | FitsIoServer fserv;
|
---|
26 | fserv.load(sph, "map_essai.fits",2);
|
---|
27 | //sph.print(cout);
|
---|
28 | fserv.Mollweide_picture_projection(sph, "dessin.fits");
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.