Commit c3b44516b979d704fbbc5871d847730a32368541
Committed by
Jürgen Knödlseder
1 parent
d697796b
Remove reference to saving information in CSV format (#2713)
Showing
3 changed files
with
1 additions
and
21 deletions
src/ctfindvar/ctfindvar.cpp
| ... | ... | @@ -735,8 +735,6 @@ void ctfindvar::get_parameters(void) |
| 735 | 735 | (*this)["xsrc"].real(); |
| 736 | 736 | (*this)["ysrc"].real(); |
| 737 | 737 | } |
| 738 | - // Get the file format for the output source histograms | |
| 739 | - (*this)["histtype"].string(); | |
| 740 | 738 | } |
| 741 | 739 | |
| 742 | 740 | // Create GTIs and counts cube |
| ... | ... | @@ -1059,21 +1057,7 @@ void ctfindvar::write_srchist(void) |
| 1059 | 1057 | } |
| 1060 | 1058 | |
| 1061 | 1059 | // Call the appropriate method for writing the data |
| 1062 | - if ((*this)["histtype"].string() == "CSV") { | |
| 1063 | - write_srchist_csv(time_info, max_pixel_info, src_info); | |
| 1064 | - } else { | |
| 1065 | - write_srchist_fits(time_info, max_pixel_info, src_info); | |
| 1066 | - } | |
| 1067 | -} | |
| 1068 | - | |
| 1069 | -/***********************************************************************//** | |
| 1070 | - * @brief Write individual histograms in CSV format | |
| 1071 | - ***************************************************************************/ | |
| 1072 | -void ctfindvar::write_srchist_csv(const GNdarray& time_info, | |
| 1073 | - const GNdarray& max_pixel_info, | |
| 1074 | - const GNdarray& src_info) | |
| 1075 | -{ | |
| 1076 | - log_string(NORMAL,"Storing histograms in CSV format is not currently supported."); | |
| 1060 | + write_srchist_fits(time_info, max_pixel_info, src_info); | |
| 1077 | 1061 | } |
| 1078 | 1062 | |
| 1079 | 1063 | ... | ... |
src/ctfindvar/ctfindvar.hpp
| ... | ... | @@ -86,9 +86,6 @@ protected: |
| 86 | 86 | |
| 87 | 87 | // Writing methods for individual source histograms |
| 88 | 88 | void write_srchist(void); |
| 89 | - void write_srchist_csv(const GNdarray& time_info, | |
| 90 | - const GNdarray& max_pixel_info, | |
| 91 | - const GNdarray& src_info); | |
| 92 | 89 | void write_srchist_fits(const GNdarray& time_info, |
| 93 | 90 | const GNdarray& max_pixel_info, |
| 94 | 91 | const GNdarray& src_info); | ... | ... |
src/ctfindvar/ctfindvar.par
| ... | ... | @@ -21,7 +21,6 @@ inmodel, f, h, NONE,,, "Input model definition file for extracting source pos |
| 21 | 21 | outcube, f, h, NONE,,, "Filename for counts cube" |
| 22 | 22 | caldb, s, a, prod2,,, "Calibration database" |
| 23 | 23 | irf, s, a, South_0.5h,,, "Instrument response function" |
| 24 | -histtype, s, a, FITS,CSV|FITS,, "File type for storing the individual source histograms" | |
| 25 | 24 | prefix, s, a, findvar_,,, "Prefix for output files" |
| 26 | 25 | minoff, r, h, 0,,, "Minimum required events in off bin for computing Noff and alpha" |
| 27 | 26 | emin, r, a, 0,,, "Lower energy limit (units of TeV; 0 => no cut)" | ... | ... |