Last change
on this file since 82 was
71,
checked in by Matthew Whiting, 18 years ago
|
A swag of changes, centred around the addition of functionality to read
in an already saved FITS file containing the reconstructed array.
duchamp.hh -- const strings containing new keywords for saved FITS files.
Cubes/saveImage.cc -- improved methods for saving the FITS files, including
header keywords indicating origin.
Cubes/readRecon.cc -- new function to read in reconstructed array from FITS file.
Cubes/cubes.cc -- recon array now declared if recon file exists.
Cubes/cubes.hh -- prototype for readReconCube
Cubes/trimImage.cc -- allow for case of recon file existing.
Cubes/getImage.cc -- improved error/warning reporting to match new function.
param.hh -- new parameters to deal with reconFile
param.cc -- IO and default values for new parameters.
docs/Guide.tex -- Describing new option. Also added instal guide.
InputComplete? -- Added new parameters, and set values shown to be default values.
mainDuchamp.cc -- code related to new function.
ATrous/ReconSearch.cc -- will now not do reconstruction if recon array exists.
Fixed bug in output.
ATrous/baselineSubtract.cc -- Subtract baseline from recon array if it exists.
Utils/wcsFunctions.cc -- Fixed error/warning reporting in line with new standards.
|
File size:
1.4 KB
|
Line | |
---|
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.x -p [parameter file]\n\ |
---|
9 | Other options:\n\ |
---|
10 | -v Version number\n\ |
---|
11 | -h This help information\n"; |
---|
12 | |
---|
13 | const std::string ERR_USAGE_MSG_SHORT = "Usage:: Duchamp.x -p [parameter file]\n"; |
---|
14 | |
---|
15 | const std::string PROGNAME = "Duchamp"; |
---|
16 | |
---|
17 | const std::string VERSION = "0.9.1"; |
---|
18 | |
---|
19 | // The following are the FITS Header Keywords corresponding to the |
---|
20 | // parameters related to the atrous reconstruction. |
---|
21 | const std::string keyword_scaleMin = "DU_MINSC"; |
---|
22 | const std::string keyword_snrRecon = "DU_ATCUT"; |
---|
23 | const std::string keyword_filterCode = "DU_FILTR"; |
---|
24 | const std::string keyword_ReconResid = "DU_RECON"; // is this file the reconstruction or the residual? |
---|
25 | // And these are the comments corresponding to the relevant keywords |
---|
26 | const std::string comment_scaleMin = "Duchamp parameter scaleMin"; |
---|
27 | const std::string comment_snrRecon = "Duchamp parameter snrRecon"; |
---|
28 | const std::string comment_filterCode = "Duchamp parameter filterCode"; |
---|
29 | const std::string comment_ReconResid = "Is this the reconstruction or residual?"; |
---|
30 | // Descriptive Headers: |
---|
31 | const std::string header_history1 = "Reconstructed with a trous wavelet technique"; |
---|
32 | const std::string header_history2 = "Reconstruction by Duchamp v." + VERSION; |
---|
33 | const std::string header_comment = "The following are the Duchamp parameters used in reconstruction"; |
---|
Note: See
TracBrowser
for help on using the repository browser.