Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef CONSTANTS_H_
00009 #define CONSTANTS_H_
00010
00011 #include "FITSParameters.h"
00012
00013 #define MAX_ALPHA MAX_FITS_PARMS ///> Maximum number of scatterers.
00014
00015 struct constants{
00016 char *extension;
00017 char *gzipExtension;
00018 char *txtExtension;
00019 char *TargetFilename;
00020 char *AvgKernFilename;
00021 char *AvgKernFilename1d;
00022 char *ModelMuName;
00023 char *ModelSigmaName;
00024 char *ModelNuName;
00025 char *ModelLambda1Name;
00026 char *ModelLambda2Name;
00027 char *ModelNoiseScaleName;
00028 char *ModelLambdaComment;
00029 char *ModelComment;
00030 char *NoiseScaleComment;
00031 char *QFilename;
00032 char *WFilename;
00033 char *BFilename;
00034 char *CovFilename;
00035 char *NoiseFilename;
00036 char *FileFlag;
00037 char *OutputFlag;
00038 char *DebugFlag;
00039 char *DTILDA_FILENAME;
00040 char *KX_FILENAME;
00041 char *KY_FILENAME;
00042 char *LAMBDA_FILENAME;
00043 char *UNDERV[MAX_ALPHA];
00044 char *XYZ[MAX_ALPHA];
00045 char *DirectorySeparator;
00046 char *WK0Filename;
00047 char *AvgKernK0Filename;
00048 char *QK0Filename;
00049 char *NoiseK0Filename;
00050 };
00051
00052 static const struct constants Constants = {
00053 "fits",
00054 "fits.gz",
00055 "txt",
00056 "T",
00057 "AvgKern",
00058 "A",
00059 "mu",
00060 "sigma_h",
00061 "nu",
00062 "LAMBDA1",
00063 "LAMBDA2",
00064 "nscale",
00065 "lambda value",
00066 "parameter value",
00067 "noise scale",
00068 "q",
00069 "w",
00070 "b",
00071 "Cov",
00072 "Noise",
00073 "-f",
00074 "-o",
00075 "-d",
00076 "d~",
00077 "kx",
00078 "ky",
00079 "lambda_squared",
00080 {"v_x", "v_y", "v_z"},
00081 {"x", "y", "z"},
00082 "/",
00083 "w_k0",
00084 "AvgKern_k0",
00085 "q_k0",
00086 "Noise_k0"
00087 };
00088
00089 #define MAX_DIGITS_IN_MAP 5
00090 #define TWO_PI_SQUARED ((2.0 * M_PI) * (2.0 * M_PI))
00091
00092 #endif