[57] | 1 | #include <string.h> |
---|
| 2 | |
---|
[71] | 3 | // how to convey whether a function has worked |
---|
| 4 | enum OUTCOME {SUCCESS, FAILURE}; |
---|
| 5 | |
---|
| 6 | |
---|
[57] | 7 | const std::string ERR_USAGE_MSG = |
---|
[85] | 8 | "Usage:: Duchamp -p [parameter file]\n\ |
---|
[57] | 9 | Other options:\n\ |
---|
[85] | 10 | -f <file> Use default parameters with imageFile=<file>\n\ |
---|
| 11 | -v Version number\n\ |
---|
| 12 | -h This help information\n"; |
---|
[57] | 13 | |
---|
[85] | 14 | const std::string ERR_USAGE_MSG_SHORT = "Usage:: Duchamp -p [parameter file]\n"; |
---|
[57] | 15 | |
---|
| 16 | const std::string PROGNAME = "Duchamp"; |
---|
| 17 | |
---|
[85] | 18 | const std::string VERSION = "1.0"; |
---|
[71] | 19 | |
---|
[90] | 20 | // The spectral type that we want the wcsprm structs to be in |
---|
| 21 | const char duchampSpectralType[9] = "VELO-F2V"; |
---|
| 22 | |
---|
[71] | 23 | // The following are the FITS Header Keywords corresponding to the |
---|
| 24 | // parameters related to the atrous reconstruction. |
---|
[95] | 25 | const std::string keyword_flagMW = "DU_MWFLG"; |
---|
[84] | 26 | const std::string keyword_minMW = "DU_MWMIN"; |
---|
| 27 | const std::string keyword_maxMW = "DU_MWMAX"; |
---|
[71] | 28 | const std::string keyword_scaleMin = "DU_MINSC"; |
---|
| 29 | const std::string keyword_snrRecon = "DU_ATCUT"; |
---|
| 30 | const std::string keyword_filterCode = "DU_FILTR"; |
---|
| 31 | const std::string keyword_ReconResid = "DU_RECON"; // is this file the reconstruction or the residual? |
---|
| 32 | // And these are the comments corresponding to the relevant keywords |
---|
[95] | 33 | const std::string comment_flagMW = "Duchamp parameter flagMW"; |
---|
[84] | 34 | const std::string comment_minMW = "Duchamp parameter minMW"; |
---|
| 35 | const std::string comment_maxMW = "Duchamp parameter maxMW"; |
---|
[71] | 36 | const std::string comment_scaleMin = "Duchamp parameter scaleMin"; |
---|
| 37 | const std::string comment_snrRecon = "Duchamp parameter snrRecon"; |
---|
| 38 | const std::string comment_filterCode = "Duchamp parameter filterCode"; |
---|
| 39 | const std::string comment_ReconResid = "Is this the reconstruction or residual?"; |
---|
| 40 | // Descriptive Headers: |
---|
| 41 | const std::string header_history1 = "Reconstructed with a trous wavelet technique"; |
---|
| 42 | const std::string header_history2 = "Reconstruction by Duchamp v." + VERSION; |
---|
| 43 | const std::string header_comment = "The following are the Duchamp parameters used in reconstruction"; |
---|
[84] | 44 | const std::string flagMW_comment = "Channels containing Galactic emission have been removed"; |
---|