GammaLib 2.1 release (8 July 2025)¶
Overview¶
GammaLib 2.1 is a major release that adds significant functionality.
In particular, this release provides:
Faster filling of sparse matrices
Weighting cube DRW support for COMPTEL interface
Faster INTEGRAL/SPI likelihood computations
Bug fixes¶
[6] -
GObservation(s)::nobserved()andGEvents::number()methods return values changed from int to doubleFix bug in
GModelSpectralTable::par_index[4461] - Fix solidangle computation in
GSkyRegionRectangle[4223] - Replace
distutilsbysetuptoolsfor Python setup[4198] - Fix segfault on saving empty
GModelSpectralTableinstance
Improvements¶
[16] - Add
GModelDataMultiplicativeclass[14] - Improve COMPTEL response computation
[13] - Implement SPI specific numerical gradient step size Improve elliptical disk aud Gaussian models Interpret position angle of elliptical models in Galactic system if location is specified in Galactic coordinates
[12] - Implement SPI vector response computation Add
gammalib::get_current_clock()method[11] - Implement native code for sparse matrix unary addition and subtraction
- [9] -
Use sparse vectors in
GObservationbinned likelihood methods
Add
GVectorSparseclass AddGMatrixSparsemethodscolfill_init(),colfill_set_column()andcolfill_flush()AddGMatrixSparse::column_to_vector()method[8] - Add
GGti::append(GTimes,GTimes)method[7] - Fix unused parameters in
GSPIModelDataSpace::setup_pars()method[5] - Add coordinate string constructor and
set()method toGSkyDirclass[4] - Write GSPIResponse group name in
GSPIObservation::write()method[3] - Add
gammalib::get_current_rss()method ImplementGSPIModelDataSpace::eval()vector method[2] - Compute scale gradients for composite spatial model
[1] - Add GSkyMap scalar multiplication and division Add
GCOMResponse::backprojectmethod Do no longer clip negative sky map pixels inGModelSpatialDiffuseMapAdd kludge to enable reading of CTA SDC data
Extract
GMWLObservationattributes from filenameAdd
GEnergy::eV()andGEnergy::log10eV()methods[4467] - Generalise flux computation in GModelSpatial::flux method (#4467)
[4209] - Add
GSkyMapcomparison operators. Add COMPTEL DRW support toGCOMObservationand addGCOMDrisclass. AddGCOMHkdandGCOMHkdsclasses.[4204] - Add
GIntegral::adaptive_gauss_kronrod()method[4202] - Add optional unit parameter to
GApplication::log_value()methods[4159] - Implement response vector cache storage in FITS file
Add
GCOMObservation::npred()method[4069] - Add optional energy scaling in
GModelSpectralTableclass and addGNdarray::index()method