00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef HEALPIX_DATA_IO_H
00033 #define HEALPIX_DATA_IO_H
00034
00035 #include <string>
00036
00037 class paramfile;
00038 class simparams;
00039 template<typename T> class arr;
00040
00041 void read_weight_ring (const std::string &dir, int nside,
00042 arr<double> &weight_T);
00043 void read_weight_ring (const std::string &dir, int nside,
00044 arr<double> &weight_T, arr<double> &weight_Q, arr<double> &weight_U);
00045
00046 void get_ring_weights (paramfile ¶ms, simparams &par, int nside,
00047 arr<double> &weight_T);
00048 void get_ring_weights (paramfile ¶ms, simparams &par, int nside,
00049 arr<double> &weight_T, arr<double> &weight_Q, arr<double> &weight_U);
00050
00051 void read_pixwin (const std::string &dir, int nside, arr<double> &temp);
00052 void read_pixwin (const std::string &dir, int nside, arr<double> &temp,
00053 arr<double> &pol);
00054
00055 void get_pixwin (paramfile ¶ms, simparams &par, int lmax,
00056 int nside, arr<double> &pixwin);
00057 void get_pixwin (paramfile ¶ms, simparams &par, int lmax,
00058 int nside, arr<double> &pixwin, arr<double> &pixwin_pol);
00059
00060 #endif