Commit 7b0a356bf4a7fe36fdcbe7b9df25ee345006874c

Authored by Jürgen Knödlseder
1 parent 345c3518

Rename GCTACubeEdisp::map to GCTACubeEdisp::cube

@@ -88,6 +88,7 @@ The following methods have been renamed: @@ -88,6 +88,7 @@ The following methods have been renamed:
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 - GCTACubePsf::cube(), was GCTACubePsf::map()
  91 +- GCTACubeEdisp::cube(), was GCTACubeEdisp::map()
91 92
92 The following classes now use GFilename for filenames arguments instead 93 The following classes now use GFilename for filenames arguments instead
93 of std::string: 94 of std::string:
inst/cta/include/GCTACubeEdisp.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& migras(void) const; 94 const GNodeArray& migras(void) const;
95 double migra_max(void) const; 95 double migra_max(void) const;
@@ -156,7 +156,7 @@ std::string GCTACubeEdisp::classname(void) const @@ -156,7 +156,7 @@ std::string GCTACubeEdisp::classname(void) const
156 * Returns the energy dispersion cube sky map. 156 * Returns the energy dispersion cube sky map.
157 ***************************************************************************/ 157 ***************************************************************************/
158 inline 158 inline
159 -const GSkyMap& GCTACubeEdisp::map(void) const 159 +const GSkyMap& GCTACubeEdisp::cube(void) const
160 { 160 {
161 return (m_cube); 161 return (m_cube);
162 } 162 }
inst/cta/pyext/GCTACubeEdisp.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& migras(void) const; 79 const GNodeArray& migras(void) const;
80 double migra_max(void) const; 80 double migra_max(void) const;