Commit 345c351813a17ffbc84b288e7584256eb787def2

Authored by Jürgen Knödlseder
1 parent 606b2db9

Rename GCTACubePsf::map to GCTACubePsf::cube

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