00001 /* 00002 * FITSParameters.h 00003 * 00004 * Created on: Sep 22, 2010 00005 * Author: Brenda Javornik (e-mail: brendaj (at) nwra.com) 00006 */ 00007 00008 #ifndef FITSPARAMETERS_H_ 00009 #define FITSPARAMETERS_H_ 00010 00011 #define MAX_FITS_PARM_VALUE 21 00012 #define MAX_FITS_PARMS 4 // Related to NUM_PARAMETERS in Parameters.h 00013 #define MAX_CARD_LENGTH_FOR_FITS 80 00014 00019 typedef struct { 00020 int n; 00021 char *names[MAX_FITS_PARMS]; 00022 char *comments[MAX_FITS_PARMS]; 00023 char scientificNotation[MAX_FITS_PARMS][MAX_FITS_PARM_VALUE]; 00024 } FITSParameters; 00025 00026 struct FITSParamConstants { 00027 char *sciFiFormat; // sprintf format string to use for FITS header parameters 00028 }; 00029 00030 static const struct FITSParamConstants FITSParametersConstants = { 00031 "%20E" 00032 }; 00033 00034 #endif /* FITSPARAMETERS_H_ */