Defines | |
#define | DEBUG 0 |
#define | MAXDIM 4 |
#define | fftwf_malloc fftw_malloc |
#define | fftwf_free fftw_free |
Functions | |
void | freeFits2d (fits2d f) |
void | freeFits3d (fits3d f) |
fits2d | readfits (char *filename) |
int | getHeaderParameters (char *filename, Float *mu, Float *sigmah, Float *nu) |
MultiDimFits | openMultiDimFitsRead (char *filename) |
void | openMultiDimFitsWrite (char *filename, MultiDimFits *fileInfoPtr, FITSParameters headerParameters) |
fits2d | readNextPlane (MultiDimFits fileInfo, WhichPlane whichPlane) |
void | writeNextPlane (MultiDimFits fileInfo, WhichPlane whichPlane, fits2d data) |
int | closeMultiDimFits (MultiDimFits fileInfo) |
#define DEBUG 0 |
#define fftwf_free fftw_free |
#define fftwf_malloc fftw_malloc |
#define MAXDIM 4 |
void freeFits2d | ( | fits2d | f | ) |
void freeFits3d | ( | fits3d | f | ) |
Get header parameters from a fits file. return value for Mu, from fits file header return -1 if MU not found in header return value >= 0 if MU found in header. value of -1 indicates the parameter was not found. All the parameters from the inversion (mu, sigmah, nu) are positive or zero, so a negative number indicates the value was not found.
[in] | filename | Send the name of the fits file. |
[out] | mu | |
[out] | sigmah | |
[out] | nu |