source: trunk/src/duchamp.hh @ 108

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

Changed source tree structure: added a src/ directory that contains all the
code. Makefile.in and configure.ac changed to match.

File size: 2.1 KB
Line 
1#ifndef DUCHAMP_HH
2#define DUCHAMP_HH
3
4#include <string.h>
5
6// how to convey whether a function has worked
7enum OUTCOME {SUCCESS, FAILURE};
8
9
10const std::string ERR_USAGE_MSG =
11"Usage:: Duchamp -p [parameter file]\n\
12  Other options:\n\
13    -f <file>  Use default parameters with imageFile=<file>\n\
14    -v         Version number\n\
15    -h         This help information\n";
16
17const std::string ERR_USAGE_MSG_SHORT = "Usage:: Duchamp -p [parameter file]\n";
18
19const std::string PROGNAME = "Duchamp";
20
21const std::string VERSION = "1.0";
22
23// The spectral type that we want the wcsprm structs to be in
24const char duchampSpectralType[9] = "VELO-F2V";
25
26// The following are the FITS Header Keywords corresponding to the
27//  parameters related to the atrous reconstruction.
28const std::string keyword_scaleMin   = "DU_MINSC";
29const std::string keyword_snrRecon   = "DU_ATCUT";
30const std::string keyword_reconDim   = "DU_ATDIM";
31const std::string keyword_filterCode = "DU_FILTR";
32const std::string keyword_ReconResid = "DU_RECON"; // is this file the reconstruction or the residual?
33const std::string keyword_subsection = "DU_IMSUB";
34// And these are the comments corresponding to the relevant keywords
35const std::string comment_scaleMin   = "Duchamp parameter scaleMin";
36const std::string comment_snrRecon   = "Duchamp parameter snrRecon";
37const std::string comment_reconDim   = "Duchamp parameter reconDim";
38const std::string comment_filterCode = "Duchamp parameter filterCode";
39const std::string comment_ReconResid = "Is this the reconstruction or residual?";
40const std::string comment_subsection = "Subsection of the original image";
41// Descriptive Headers:
42const std::string header_history1 = "Reconstructed with a trous wavelet technique";
43const std::string header_history2 = "Reconstruction by Duchamp v." + VERSION;
44const std::string header_history_input = "Original (input) image used by Duchamp follows";
45const std::string header_subsection_comment  = "A subsection of the original was reconstructed by Duchamp";
46const std::string header_atrous_comment  = "The following are the Duchamp parameters used in reconstruction";
47
48#endif
49
Note: See TracBrowser for help on using the repository browser.