From 7b0a356bf4a7fe36fdcbe7b9df25ee345006874c Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Thu, 21 Jul 2016 18:00:38 +0200 Subject: [PATCH] Rename GCTACubeEdisp::map to GCTACubeEdisp::cube --- NEWS | 1 + inst/cta/include/GCTACubeEdisp.hpp | 4 ++-- inst/cta/pyext/GCTACubeEdisp.i | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 5163bd3..6a94844 100644 --- a/NEWS +++ b/NEWS @@ -88,6 +88,7 @@ The following methods have been renamed: - GFilename::url(), was GFilename::filename() - GCTAEventCube::counts(), was GCTAEventCube::map() - GCTACubePsf::cube(), was GCTACubePsf::map() +- GCTACubeEdisp::cube(), was GCTACubeEdisp::map() The following classes now use GFilename for filenames arguments instead of std::string: diff --git a/inst/cta/include/GCTACubeEdisp.hpp b/inst/cta/include/GCTACubeEdisp.hpp index c81f450..a84fcaf 100644 --- a/inst/cta/include/GCTACubeEdisp.hpp +++ b/inst/cta/include/GCTACubeEdisp.hpp @@ -89,7 +89,7 @@ public: std::string classname(void) const; void set(const GCTAObservation& obs); void fill(const GObservations& obs, GLog* log = NULL); - const GSkyMap& map(void) const; + const GSkyMap& cube(void) const; const GEnergies& energies(void) const; const GNodeArray& migras(void) const; double migra_max(void) const; @@ -156,7 +156,7 @@ std::string GCTACubeEdisp::classname(void) const * Returns the energy dispersion cube sky map. ***************************************************************************/ inline -const GSkyMap& GCTACubeEdisp::map(void) const +const GSkyMap& GCTACubeEdisp::cube(void) const { return (m_cube); } diff --git a/inst/cta/pyext/GCTACubeEdisp.i b/inst/cta/pyext/GCTACubeEdisp.i index a90d8c4..1e65d78 100644 --- a/inst/cta/pyext/GCTACubeEdisp.i +++ b/inst/cta/pyext/GCTACubeEdisp.i @@ -74,7 +74,7 @@ public: std::string classname(void) const; void set(const GCTAObservation& obs); void fill(const GObservations& obs, GLog* log = NULL); - const GSkyMap& map(void) const; + const GSkyMap& cube(void) const; const GEnergies& energies(void) const; const GNodeArray& migras(void) const; double migra_max(void) const; -- libgit2 0.21.4