Changeset 838 in Sophya for trunk/SophyaExt/FitsIOServer/fitsioserver.h
- Timestamp:
- Apr 7, 2000, 5:43:14 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsioserver.h
r770 r838 5 5 #include "tvector.h" 6 6 #include "sphericalmap.h" 7 #include "sphere gorski.h"7 #include "spherehealpix.h" 8 8 #include "localmap.h" 9 9 #include "ntuple.h" 10 //#include "outilsinit.h" 10 11 #include "cimage.h" 11 12 #include "dvlist.h" 12 13 #include "anydataobj.h" 13 14 #include "FitsIO/fitsio.h" 14 #include "FitsIO/fitsio.h" 15 15 16 16 #define LEN_KEYWORD 9 … … 39 39 void load(ImageR4& DpcImg,char flnm[]); 40 40 void load(ImageI4& DpcImg,char flnm[]); 41 void load(SphereGorski<float>& sph, char flnm[], int hdunum=2); 42 void load(SphereGorski<double>& sph, char flnm[], int hdunum=2); 41 void load(SphereHealpix<float>& sph, char flnm[], int nth=1); 42 void load(SphereHealpix<double>& sph, char flnm[], int nth=1); 43 void load(SphereHealpix<double>& sph1,SphereHealpix<double>& sph2,SphereHealpix<double>& sph3, char filename[]); 44 void load(SphereHealpix<float>& sph1,SphereHealpix<float>& sph2,SphereHealpix<float>& sph3, char filename[]); 43 45 void save(TMatrix<double>& mat, char flnm[]); 44 46 void save(TMatrix<float>& mat, char flnm[]); … … 47 49 void save(SphericalMap<double>& sph, char flnm[]); 48 50 void save(SphericalMap<float>& sph, char flnm[]); 49 void save(SphereGorski<float>& sph, char filename[]); 50 void save(SphereGorski<double>& sph, char filename[]); 51 void save(LocalMap<double>& locm, char flnm[]); 51 52 // nth : numero d'ordre de la sphere sur le fichier de sauvegarde 53 // si on veut sauver une seule sphere : nth=1 54 // so veut sauver par exemple 3 spheres, on appelle 3 fois save 55 // avec respectivement nth=1, 2, 3 56 void save(SphereHealpix<float>& sph, char filename[], int nth=1); 57 void save(SphereHealpix<double>& sph, char filename[], int nth=1); 58 59 void save(SphereHealpix<double>& sph1,SphereHealpix<double>& sph2,SphereHealpix<double>& sph3, char filename[]); 60 void save(SphereHealpix<float>& sph1,SphereHealpix<float>& sph2,SphereHealpix<float>& sph3, char filename[]); 61 void save(const LocalMap<double>& locm, char flnm[]); 52 62 void save(const ImageR4& DpcImg,char flnm[]); 53 63 void save(const ImageI4& DpcImg,char flnm[]); … … 68 78 69 79 void planck_read_img(char flnm[],int &naxis,int &n1,int &n2,int &n3,DVList &dvl); 70 void planck_read_bntbl(char flnm[], int hdunum, int& npixels, DVList& dvl );71 void planck_write_bntbl(char flnm[], int npixels, char typeOfContent[], char extname[], char comment1[], DVList& dvl );80 void planck_read_bntbl(char flnm[], int hdunum, int& npixels, DVList& dvl,int tfields=1); 81 void planck_write_bntbl(char flnm[], int npixels, char typeOfContent[], char extname[], char comment1[], DVList& dvl, int tfields=1, int nth=1); 72 82 void write_picture(long* naxes,float* map,char* filename) const; 73 83
Note:
See TracChangeset
for help on using the changeset viewer.