GammaLib 2.0 release (6 June 2022)¶
Overview¶
GammaLib 2.0 is a major release that adds significant functionality.
In particular, this release provides:
full support for COMPTEL data analysis
support for pulsar analysis
vectorised response computation
support of Galactic coordinates in all spatial models
provision of carbon footprint information and statistics
a daemon that collects GammaLib usage statistics
Bug fixes¶
[4030] - Fix bug in
GGti::insert()
andGGti::merge()
methods[3974] - Correctly return UTC times before 1972
[3973] - Implement CGRO clock correction
Compute spectral model gradients for negative factor values
[3631] - Display application header in debug mode
[3563] - Fix incompatibility in
GMatrixSparse::mix_column_prepare()
method[3553] - Fix reading of scaled FITS columns, remove
GFitsTableCol::scale()
method[3547] - Correct COMPTEL average deadtime to 0.965 (Rob van Dijk’s thesis)
[3541] - Fix handling of empty matrix objects
[3499] - Fix response cache removal for vector cache
Fix
GSkyMap::stack_maps()
method for WCS maps[3417] - Correct application elapsed CPU time for OpenMP
Improvements¶
[4063] - Add
gammalib::getenv()
function[4062] - Add
GEbounds::remove()
method[4058] - Add
ASTRI
andFACT
as supported instrument type for the CTA moduleBy default, do not allow log-likelihood decrease in LM optimiser
[3988] - Support Galactic coordinates in spatial models
Add
GCOMObservation::tim()
andGCOMObservation::oads()
setter methods[3917] - Add
GCOMSelection::fpmtflag()
,GCOMSelection::use_d1()
andGCOMSelection::use_d2()
methods[3913] - Add
GCOMModelDRBPhibarBins
class[3912] - Add likelihood fit event selection hook
[3908] - Add
angle(GVector&,GVector&)
friend function[3907] - Add
GSkyDir::galvector()
methodsMake extension name check case insensitive in
GFits::extno()
Add numerical gradient step size member to
GObservation
[3662] - Add
stamp()
methods toGApplication
[3630] - Add ASCL shield to About page
[3626] - Add
GModelSpectralFunc
spectral constructor[3592] - Add carbon footprint estimation to
GApplication
. AddedGApplication::statistics()
andGApplication::add_celapse()
methods[3564] - Add phase selection to
GCOMSelection
andGCOMDri
[3558] - Implement COMPTEL response for diffuse models
[3557] - Implement COMPTEL background model computation
[3552] - Add
gammalib::compare()
functionAdd DRI constructor to
GCOMObservation
classAdd member access methods to
GCOMDri
class[3549] - Implement ToF correction for COMPTEL EVP version 2 datasets
[3548] - Implement ToF correction in IRF computation
Add methods to
GCOMObservation
class to access DRI filenames[3535] - Add GModelSpectralFunc methods to build file function in memory
[3501] - Implement vectorised response computation for COMPTEL
[3474] - Missing file in GModelSpectralFunc throws exception
[3386] - Support spectral line fitting
[3333] - Integrate analytical gradients for energy dispersion computation
[3324] - Remove implicit conversion warnings
Implement
GMatrixSparse::row()
andGMatrixSparse::add_to_row()
methods[3203] - Implement vectorised response computation and analytical gradients for the radial Gaussian model in a stacked analysis
[1785] - Add
GSkyMap::flux(GRegion)
,GSkyMap::flux(GRegions)
,GSkyMap::solidangle(GRegion)
andGSkyMap::solidangle(GRegions)
methods[1785] - Reimplement
GModelSpatial::flux()
method for diffuse and combined models[1300] - Implement pre-computation cache in GModelSpatialGauss
New features¶
[3973] - Add
GCOMBvc
andGCOMBvcs
classes to support COMPTEL pulsar analysis, reviseGCOMSelection
interface to support both orbital and pulsar phase selection, extendGCOMObservation
interface to handle Solar System Barycentre Data[3924] - Add
GModelSpatialRadialGeneralGauss
andGModelSpatialEllipticalGeneralGauss
classes[3910] - Add
GCOMModelDRM
class[3606] - Add
GModelSpectralBins
class[3592] - Add GammaLib daemon for application statistics management
[3527] - Add
GCTABackground2D
class[3469] - Add
GModelAssociation
andGModelAssociations
classes[3461] - Add
GSkyMap::correlate()
method[3455] - Add
GModels::eval()
vector evaluation method[3442] - Add
GCTAModelSkyCube
class[3439] - Add
GSkyModel
flux()
andeflux()
methods[3431] - Add XML value constructors and access methods to
GXmlElement
class[3403] - Implement sparse vector response cache
[3328] - Add
GFunctions
abstract base class andGIntegrals
class[3324] - Add
gammalib::tmpnam()
function[3324] - Add
GSkyDirs
container class[3248] - Add
GSkyRegionRect
class[3074] - Add
GSkyModel
flux_error()
andeflux_error()
methods
Clean up¶
[3914] - Rename
GCOMModelDRBFitting
class toGCOMModelDRBPhibarNodes
Remove
GCOMSelection::zeta_min()
andGCOMSelection::zeta_max()
methods[3560] - Store DRB, DRG and DRX as instances of
GCOMDri
instead ofGSkyMap
inGCOMObservation
[2973] - Remove COMPTEL internal response caching
[35] - Replace specific by generic exceptions