GammaLib 1.7 release (17 July 2020)

Overview

GammaLib 1.7 is a major release that adds significant functionality.

In particular, this release provides:

  • Support for INTEGRAL/SPI data analysis

  • Response caching for all instruments

  • A radial ring as new spatial model

  • A spectral table as new spectral model

Bug fixes

  • [3199] - Fix ambiguity problem in GSkyDir::posang() and GSkyDir::posang_deg().

  • [3179] - Fix GModelSpatialDiffuseCube pickeling issue.

  • [3126] - Avoid rounding errors in GSkyMap operators.

  • [3012] - Exclude upper edge boundary in GSkyMap::contains() method.

  • [2917] - Fix GTime.utc() precision bug.

  • Correctly write model attributes in GCOMModelDRBFitting class.

Improvements

  • Add equality and non-equality operators to GSkyRegionCircle class.

  • [3202] - Replace GCTAResponseCache class by GResponseCache class.

  • [3145] - Properly set region for GModelSpatialDiffuseCube class.

  • [3062] - Add GObservations::npred() methods.

  • [2990] - Add GSkyMap::extract() methods.

  • [2973] - Improve COMPTEL classes. Implement methods to remove models from a response cache. Add GCOMObservation::drm(GModels&) method. Add GCOMDri::cone_content() method.

  • [2971] - Install example binaries in share/examples folder.

  • [2961] - Add GModelSpatial::flux() method.

  • Add GGti::overlap() method.

  • [2909] - Add GTime.datetime() method and add optional precision to GTime.utc() method.

  • [2881] - Replace log flag by string in GEbounds and GEnergies classes.

  • [2695] - Allow RoI centres different from pointing direction in unbinned analysis.

  • [1855] - Add GSkyDir::moon() method.

  • [1854] - Add GSkyDir::sun(), GSkyDir::precess() and GTime::julian_epoch() methods.

New features

  • [3253] - Add GModelSpatialRadialRing class.

  • [3072] - Fix inverted min-max boundary in GOptimizePar for negative scale factors.

  • [2961] - Change order of Python module import.

  • [733] [734] [735] [736] [740] [742] [745] [746] - Implement INTEGRAL/SPI instrument interface.

  • [742] - Implement GSPIResponse class.

  • [599] - Add GModelSpectralTable class.

Clean up

  • [3179] - Rename GModelSpatialDiffuseCube::set_mc_cone() to GModelSpatialDiffuseCube::mc_cone() and add mc_cone() getter methods.

  • [3179] - Rename GModelSpatialDiffuseMap::set_mc_cone() to GModelSpatialDiffuseMap::mc_cone() and add mc_cone() getter methods.

  • [2893] - Remove GCTAResponseCache::ndirs(), GCTAResponseCache::nerecos() and GCTAResponseCache::netrues() methods.

  • [1829] - GSkyProjection::coordsys() method now returns CEL instead of EQU.

  • [1761] - Remove GModelSpatialDiffuseCube::maps() and GModelSpatialDiffuseCube::pixels() methods.