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