Commit 345c351813a17ffbc84b288e7584256eb787def2
1 parent
606b2db9
Rename GCTACubePsf::map to GCTACubePsf::cube
Showing
3 changed files
with
5 additions
and
4 deletions
NEWS
| ... | ... | @@ -2,7 +2,7 @@ New Features and Important Changes in GammaLib 1.1.0 |
| 2 | 2 | |
| 3 | 3 | Author(s) : Juergen Knoedlseder |
| 4 | 4 | |
| 5 | -19 July 2016 | |
| 5 | +21 July 2016 | |
| 6 | 6 | |
| 7 | 7 | |
| 8 | 8 | 1. Introduction |
| ... | ... | @@ -87,6 +87,7 @@ The following methods have been renamed: |
| 87 | 87 | - GFilename::is_empty(), was GFilename::empty() |
| 88 | 88 | - GFilename::url(), was GFilename::filename() |
| 89 | 89 | - GCTAEventCube::counts(), was GCTAEventCube::map() |
| 90 | +- GCTACubePsf::cube(), was GCTACubePsf::map() | |
| 90 | 91 | |
| 91 | 92 | The following classes now use GFilename for filenames arguments instead |
| 92 | 93 | of std::string: | ... | ... |
inst/cta/include/GCTACubePsf.hpp
| ... | ... | @@ -89,7 +89,7 @@ public: |
| 89 | 89 | std::string classname(void) const; |
| 90 | 90 | void set(const GCTAObservation& obs); |
| 91 | 91 | void fill(const GObservations& obs, GLog* log = NULL); |
| 92 | - const GSkyMap& map(void) const; | |
| 92 | + const GSkyMap& cube(void) const; | |
| 93 | 93 | const GEnergies& energies(void) const; |
| 94 | 94 | const GNodeArray& deltas(void) const; |
| 95 | 95 | double delta_max(void) const; |
| ... | ... | @@ -159,7 +159,7 @@ std::string GCTACubePsf::classname(void) const |
| 159 | 159 | * cube. |
| 160 | 160 | ***************************************************************************/ |
| 161 | 161 | inline |
| 162 | -const GSkyMap& GCTACubePsf::map(void) const | |
| 162 | +const GSkyMap& GCTACubePsf::cube(void) const | |
| 163 | 163 | { |
| 164 | 164 | return (m_cube); |
| 165 | 165 | } | ... | ... |
inst/cta/pyext/GCTACubePsf.i
| ... | ... | @@ -74,7 +74,7 @@ public: |
| 74 | 74 | std::string classname(void) const; |
| 75 | 75 | void set(const GCTAObservation& obs); |
| 76 | 76 | void fill(const GObservations& obs, GLog* log = NULL); |
| 77 | - const GSkyMap& map(void) const; | |
| 77 | + const GSkyMap& cube(void) const; | |
| 78 | 78 | const GEnergies& energies(void) const; |
| 79 | 79 | const GNodeArray& deltas(void) const; |
| 80 | 80 | double delta_max(void) const; | ... | ... |