source: tags/release-1.0/src/duchamp.hh @ 1213

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

Final update of config-related files, as well as COPYING and README.
Minor fixes to plotting.cc and plots.hh.
mainDuchamp makes use of header info from config.h.
Added a fix to param.cc to get be able to print true/false even when
boolalpha not defined.
Final update to Guide, included Installation instructions.

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