source: tags/release-0.9.2/duchamp.hh @ 1323

Last change on this file since 1323 was 85, checked in by Matthew Whiting, 18 years ago

A new command line option added so that the user can specify a FITS file to
be searched with the default parameters, rather than giving a full parameter
file. Help info in duchamp.hh fixed accordingly. Use of this feature detailed
in Guide, as well as altered text on the length of the scale bar in the
moment cutouts (missed on previous commit).

File size: 1.8 KB
Line 
1#include <string.h>
2
3// how to convey whether a function has worked
4enum OUTCOME {SUCCESS, FAILURE};
5
6
7const 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
14const std::string ERR_USAGE_MSG_SHORT = "Usage:: Duchamp -p [parameter file]\n";
15
16const std::string PROGNAME = "Duchamp";
17
18const std::string VERSION = "1.0";
19
20// The following are the FITS Header Keywords corresponding to the
21//  parameters related to the atrous reconstruction.
22const std::string keyword_minMW      = "DU_MWMIN";
23const std::string keyword_maxMW      = "DU_MWMAX";
24const std::string keyword_scaleMin   = "DU_MINSC";
25const std::string keyword_snrRecon   = "DU_ATCUT";
26const std::string keyword_filterCode = "DU_FILTR";
27const 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
29const std::string comment_minMW      = "Duchamp parameter minMW";
30const std::string comment_maxMW      = "Duchamp parameter maxMW";
31const std::string comment_scaleMin   = "Duchamp parameter scaleMin";
32const std::string comment_snrRecon   = "Duchamp parameter snrRecon";
33const std::string comment_filterCode = "Duchamp parameter filterCode";
34const std::string comment_ReconResid = "Is this the reconstruction or residual?";
35// Descriptive Headers:
36const std::string header_history1 = "Reconstructed with a trous wavelet technique";
37const std::string header_history2 = "Reconstruction by Duchamp v." + VERSION;
38const std::string header_comment  = "The following are the Duchamp parameters used in reconstruction";
39const std::string flagMW_comment  = "Channels containing Galactic emission have been removed";
Note: See TracBrowser for help on using the repository browser.