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;