Go to the source code of this file.
Data Structures |
struct | fits2d |
struct | fits3d |
struct | location |
struct | MultiDimFits |
struct | WhichPlane |
Functions |
void | freeFits2d (fits2d f) |
void | freeFits3d (fits3d f) |
fits2d | readfits (char *filename) |
int | writefits (char *filename, fits3d data) |
int | writefits2d (char *filename, fits2d data) |
int | writefits2dWithLambda (char *filename, fits2d data, Float lambda) |
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) |
int | getHeaderParameters (char *filename, Float *mu, Float *sigmah, Float *nu) |
Function Documentation
int getHeaderParameters |
( |
char * |
filename, |
|
|
Float * |
mu, |
|
|
Float * |
sigmah, |
|
|
Float * |
nu | |
|
) |
| | |
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.
- Parameters:
-
[in] | filename | Send the name of the fits file. |
[out] | mu | |
[out] | sigmah | |
[out] | nu | |
- Returns:
- status