Ignore:
Timestamp:
Apr 7, 2000, 5:43:14 PM (25 years ago)
Author:
ansari
Message:

gorski change en healpix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsioserver.h

    r770 r838  
    55#include "tvector.h"
    66#include "sphericalmap.h"
    7 #include "spheregorski.h"
     7#include "spherehealpix.h"
    88#include "localmap.h"
    99#include "ntuple.h"
     10//#include "outilsinit.h"
    1011#include "cimage.h"
    1112#include "dvlist.h"
    1213#include "anydataobj.h"
    13 
    14 #include "FitsIO/fitsio.h"   
     14#include "FitsIO/fitsio.h"   
    1515
    1616#define LEN_KEYWORD 9
     
    3939 void load(ImageR4& DpcImg,char flnm[]);
    4040 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[]);
    4345 void save(TMatrix<double>& mat, char flnm[]);
    4446 void save(TMatrix<float>& mat, char flnm[]);
     
    4749 void save(SphericalMap<double>& sph, char flnm[]);
    4850 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[]);
    5262 void save(const ImageR4& DpcImg,char flnm[]);
    5363 void save(const ImageI4& DpcImg,char flnm[]);
     
    6878
    6979 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);
    7282 void write_picture(long* naxes,float* map,char* filename) const;
    7383
Note: See TracChangeset for help on using the changeset viewer.