26 #ifndef __GyotoFitsRW_H_ 27 #define __GyotoFitsRW_H_ 32 #ifdef GYOTO_USE_CFITSIO 40 #ifdef GYOTO_USE_XERCES 65 virtual FitsRW* clone()
const ;
69 void numin(
double numn);
71 void numax(
double numx);
75 void tmin(
double tmn);
77 void tmax(
double tmx);
84 #ifdef GYOTO_USE_CFITSIO 123 void fitsWriteParams(fitsfile* fptr,
double n_e,
double theta,
double kappa,
double BB,
double t_inj);
125 virtual std::vector<size_t> fitsReadHDU(fitsfile* fptr,
131 void getIndices(
size_t i[2],
double const nu,
double const tt,
double*
const freq_array)
const ;
132 double interpolate(
double nu,
double tt,
double*
const array,
double*
const freq_array)
const ;
Definition: GyotoFitsRW.h:50
void fitsClose(fitsfile *fptr)
Closes a fits file referred to by a fitsfile pointer.
void fitsWriteHDU(fitsfile *fptr, std::string extname, double *src)
Writes specific HDU in FITS files.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
virtual ~FitsRW()
Destructor.
fitsfile * fitsCreate(std::string filename)
Creates a FITS file with dummy primary HDU.