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