From 345c351813a17ffbc84b288e7584256eb787def2 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Thu, 21 Jul 2016 17:50:48 +0200 Subject: [PATCH] Rename GCTACubePsf::map to GCTACubePsf::cube --- NEWS | 3 ++- inst/cta/include/GCTACubePsf.hpp | 4 ++-- inst/cta/pyext/GCTACubePsf.i | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 200d9bb..5163bd3 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,7 @@ New Features and Important Changes in GammaLib 1.1.0 Author(s) : Juergen Knoedlseder -19 July 2016 +21 July 2016 1. Introduction @@ -87,6 +87,7 @@ The following methods have been renamed: - GFilename::is_empty(), was GFilename::empty() - GFilename::url(), was GFilename::filename() - GCTAEventCube::counts(), was GCTAEventCube::map() +- GCTACubePsf::cube(), was GCTACubePsf::map() The following classes now use GFilename for filenames arguments instead of std::string: diff --git a/inst/cta/include/GCTACubePsf.hpp b/inst/cta/include/GCTACubePsf.hpp index bcf83c9..eeab877 100644 --- a/inst/cta/include/GCTACubePsf.hpp +++ b/inst/cta/include/GCTACubePsf.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& deltas(void) const; double delta_max(void) const; @@ -159,7 +159,7 @@ std::string GCTACubePsf::classname(void) const * cube. ***************************************************************************/ inline -const GSkyMap& GCTACubePsf::map(void) const +const GSkyMap& GCTACubePsf::cube(void) const { return (m_cube); } diff --git a/inst/cta/pyext/GCTACubePsf.i b/inst/cta/pyext/GCTACubePsf.i index 49a7123..45c3fbf 100644 --- a/inst/cta/pyext/GCTACubePsf.i +++ b/inst/cta/pyext/GCTACubePsf.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& deltas(void) const; double delta_max(void) const; -- libgit2 0.21.4