Commit f1e57da856026df16c69ae0afb26b0be8d906608
1 parent
841af6dd
Update version to 1.6.1
Showing
10 changed files
with
50 additions
and
411 deletions
ChangeLog
NEWS
| 1 | -New Features and Important Changes in GammaLib 1.6.0 | |
| 1 | +New Features and Important Changes in GammaLib 1.6.1 | |
| 2 | 2 | |
| 3 | -29 May 2019 | |
| 3 | +5 June 2019 | |
| 4 | 4 | |
| 5 | 5 | |
| 6 | 6 | 1. Introduction |
| ... | ... | @@ -12,190 +12,38 @@ made since the last release of GammaLib. |
| 12 | 12 | 2. Public interface modifications |
| 13 | 13 | --------------------------------- |
| 14 | 14 | The following classes have been added: |
| 15 | -- GModelSpectralExponential | |
| 16 | -- GWcsARC | |
| 17 | -- GPythonOptimizerFunction | |
| 18 | -- GCTAResponseCache | |
| 19 | -- GCTAModelBackground | |
| 20 | -- GCTAModelSpatial | |
| 21 | -- GCTAModelSpatialMultiplicative | |
| 22 | -- GCTAModelSpatialRegistry | |
| 23 | -- GCTAModelSpatialGaussSpectrum | |
| 24 | -- GCTAModelSpatialLookup | |
| 15 | +- none | |
| 25 | 16 | |
| 26 | 17 | The following classes have been removed: |
| 27 | -- GCTACubeSourceDiffuse | |
| 28 | -- GCTACubeSourcePoint | |
| 18 | +- none | |
| 29 | 19 | |
| 30 | 20 | The following classes have been renamed: |
| 31 | 21 | - none |
| 32 | 22 | |
| 33 | 23 | The following methods have been added: |
| 34 | -- gammalib::atan2() | |
| 35 | -- gammalib::plaw_integral() | |
| 36 | -- gammalib::gauss_integral() | |
| 37 | -- GApplication(std::string&, std::string&, GApplicationPars&) | |
| 38 | -- GApplicationPar::pickle() | |
| 39 | -- GApplicationPar::query() | |
| 40 | -- GApplicationPar::was_queried() | |
| 41 | -- GApplicationPars::pickle() | |
| 42 | -- GApplicationPars::syspfiles() | |
| 43 | -- GLog::buffer() | |
| 44 | -- operator==(GSkyPixel&, GSkyPixel&) | |
| 45 | -- operator!=(GSkyPixel&, GSkyPixel&) | |
| 46 | -- GArf::read(GFits&) | |
| 47 | -- GArf::header() | |
| 48 | -- GPha::read(GFits&) | |
| 49 | -- GPha::header() | |
| 50 | -- GPha::operator(int&, int&) | |
| 51 | -- GPha::operator[](std::string&) | |
| 52 | -- GPha::columns() | |
| 53 | -- GPha::at(int&, int&) | |
| 54 | -- GPha::append(std::string&, std::vector<double>&) | |
| 55 | -- GPha::emin_obs(GEnergy&) | |
| 56 | -- GPha::emin_obs() | |
| 57 | -- GPha::emax_obs(GEnergy&) | |
| 58 | -- GPha::emax_obs() | |
| 59 | -- GPha::backfile(std::string&) | |
| 60 | -- GPha::backfile() | |
| 61 | -- GPha::corrfile(std::string&) | |
| 62 | -- GPha::corrfile() | |
| 63 | -- GPha::respfile(std::string&) | |
| 64 | -- GPha::respfile() | |
| 65 | -- GPha::ancrfile(std::string&) | |
| 66 | -- GPha::ancrfile() | |
| 67 | -- GRmf::read(GFits&) | |
| 68 | -- GRmf::header() | |
| 69 | -- GFitsHDU::header(GFitsHeader&) | |
| 70 | -- GFitsHDU::card(std::string&, bool&, std::string&) | |
| 71 | -- GFitsHeaderCard(std::string&, std::string&, std::string&, std::string&) | |
| 72 | -- GFitsHeaderCard(std::string&, bool&, std::string&) | |
| 73 | -- GFitsTable::remove(int&) | |
| 74 | -- GFitsTable::remove(std::string&) | |
| 75 | -- GObservation::has_events() | |
| 76 | -- GModel::scales() | |
| 77 | -- GModel::scale(int&) | |
| 78 | -- GModelSpatialPointSource::type(std::string&) | |
| 79 | -- GModelSpectralPlaw::type(std::string&) | |
| 80 | -- GModelSpatial::has_free_pars() | |
| 81 | -- GModelSpatialRadialProfileGauss(GSkyDir&, double&) | |
| 82 | -- GModelSpatialRadialProfileGauss::sigma() | |
| 83 | -- GSkyDir::cos_dist() | |
| 84 | -- GSkyRegions::filename(GFilename&) | |
| 85 | -- GXml::GXml(GXmlDocument&) | |
| 86 | -- GXml::root() | |
| 87 | -- GXmlElement::attributes() | |
| 88 | -- GXmlElement::attribute(int&) | |
| 89 | -- GXmlDocument::GXmlDocument(GFilename&, std::string&, std::string&, std::string&) | |
| 90 | -- GCTAObservation::instrument(std::string&) | |
| 91 | -- GCTAObservation::lo_user_thres(double&) | |
| 92 | -- GCTAObservation::hi_user_thres(double&) | |
| 93 | -- GCTAOnOffObservation::has_response() | |
| 94 | -- GCTAInstDir::GCTAInstDir(double&, double&) | |
| 95 | -- GCTAInstDir::GCTAInstDir(GSkyDir&, double&, double&) | |
| 96 | -- GCTAInstDir::theta() | |
| 97 | -- GCTAInstDir::phi() | |
| 98 | -- GCTAInstDir::has_dir() | |
| 99 | -- GCTAInstDir::has_detx() | |
| 100 | -- GCTAInstDir::has_dety() | |
| 101 | -- GCTAPointing::is_valid() | |
| 102 | -- GCTAEventAtom(GCTAInstDir&, GEnergy&, GTime&) | |
| 103 | -- GCTAEventAtom::index(int&) | |
| 104 | -- GCTABackground::rate_ebin() | |
| 105 | -- GCTABackgroundPerfTable::rate_ebin() | |
| 106 | -- GCTABackground3D::rate_ebin() | |
| 107 | -- GCTAEdisp::prob_erecobin() | |
| 108 | -- GCTAEdispPerfTable::prob_erecobin() | |
| 109 | -- GCTAEdispRmf::prob_erecobin() | |
| 110 | -- GCTAEdisp2D::prob_erecobin() | |
| 111 | -- GCTAAeff2D::rad_max() | |
| 112 | -- GCTAResponseTable::telescope() | |
| 113 | -- GCTAModelAeffBackground(GModelSpectral&, GModelTemporal&) | |
| 114 | -- GCTAModelAeffBackground::spectral(GModelSpectral*) | |
| 115 | -- GCTAModelAeffBackground::spectral(GModelTemporal*) | |
| 116 | -- GCTAModelCubeBackground(GModelSpectral&, GModelTemporal&) | |
| 117 | -- GCTAModelCubeBackground::spectral(GModelSpectral*) | |
| 118 | -- GCTAModelCubeBackground::spectral(GModelTemporal*) | |
| 119 | -- GCTAModelRadialAcceptance(GCTAModelRadial&, GModelSpectral&, GModelTemporal&) | |
| 120 | -- GCTAModelRadialAcceptance::radial(GCTAModelRadial*) | |
| 121 | -- GCTAModelRadialAcceptance::spectral(GModelSpectral*) | |
| 122 | -- GCTAModelRadialAcceptance::temporal(GModelTemporal*) | |
| 123 | -- GCTAModelIrfBackground::spectral(GModelSpectral*) | |
| 124 | -- GCTAModelIrfBackground::temporal(GModelTemporal*) | |
| 125 | -- GCOMD1Response::write(GFitsBinTable&) | |
| 126 | -- GCOMD2Response::write(GFitsBinTable&) | |
| 127 | -- GCOMEventBin::index(int&) | |
| 128 | -- GCOMEventBin::dir(GCOMInstDir&) | |
| 129 | -- GCOMEventBin::energy(GEnergy&) | |
| 130 | -- GCOMEventBin::time(GTime&) | |
| 131 | -- GCOMEventBin::counts(double&) | |
| 132 | -- GCOMEventBin::solidangle(double&) | |
| 133 | -- GCOMEventBin::ewidth(GEnergy&) | |
| 134 | -- GCOMEventBin::ontime(double&) | |
| 135 | -- GCOMResponse::write(GFitsImageFloat&) | |
| 136 | -- GCOMTim(GGti&) | |
| 137 | -- GLATObservation(GXmlElement&) | |
| 138 | -- GLATLtCube::read(GFits&) | |
| 139 | -- GLATLtCube::write(GFits&) | |
| 140 | -- GLATEfficiency::pars() | |
| 141 | -- GMWLDatum(GEnergy&, GEnergy&, double&, double&) | |
| 142 | -- GMWLDatum::energy(GEnergy&) | |
| 143 | -- GMWLDatum::energy_err(GEnergy&) | |
| 24 | +- none | |
| 144 | 25 | |
| 145 | 26 | The following methods have been removed: |
| 146 | -- GSkyRegionMap::filename() | |
| 147 | -- GCTAEventList::irf_cache() | |
| 148 | -- GCTAPointing::dir_horiz() | |
| 149 | -- GCTAPointing::read(const GFitsTable& table) | |
| 27 | +- none | |
| 150 | 28 | |
| 151 | 29 | The following methods have been renamed: |
| 152 | -- GPhoton::mc_id() from GPhoton::mcid() | |
| 153 | -- GCTAEdisp::ereco_bounds() from GCTAEdisp::ebounds_obs() | |
| 154 | -- GCTAEdisp::etrue_bounds() from GCTAEdisp::ebounds_src() | |
| 155 | -- GCTAResponseIrf::lo_safe_thres() from GCTAResponseIrf::lo_save_thres() | |
| 156 | -- GCTAResponseIrf::hi_safe_thres() from GCTAResponseIrf::hi_save_thres() | |
| 30 | +- none | |
| 157 | 31 | |
| 158 | 32 | The arguments for the following methods have been changed: |
| 159 | -- GCTAOnOffObservation(GCTAObservation&, GModels&, std::string&, GEbounds&, GEbounds&, GSkyRegions&, GSkyRegions&, bool&) | |
| 160 | -- GCTAModelRadial::mc(GRan&) | |
| 161 | -- GCTAEdisp::operator(GEnergy&, GEnergy&, double&, double&, double&, double&) | |
| 162 | -- GCTAEdisp::mc(GRan&, GEnergy&, double&, double&, double&, double&) | |
| 163 | -- GCTACubeEdisp::operator()(GEnergy&, GEnergy&, GSkyDir&) | |
| 164 | -- GCTAResponseIrf::edisp(GEnergy&, GEnergy&, double&, double&, double&, double&) | |
| 165 | -- GLATAeff(GFits&, std::string&) | |
| 166 | -- GLATEdisp(GFits&, std::string&) | |
| 167 | -- GLATPsf(GFits&, std::string&) | |
| 33 | +- none | |
| 168 | 34 | |
| 169 | 35 | The return value of the following methods has been changed: |
| 170 | 36 | - none |
| 171 | 37 | |
| 172 | -All at() methods were removed from the Python interface. | |
| 173 | - | |
| 174 | 38 | |
| 175 | 39 | 3. Configuration |
| 176 | 40 | ----------------- |
| 177 | -Keep existing library path in installation script on Mac OS X (#2420). | |
| 178 | - | |
| 179 | -GammaLib classes can now be pickled from Python (#1938). | |
| 41 | +Fix initialisation script for c-shell (#2724). | |
| 180 | 42 | |
| 181 | 43 | |
| 182 | 44 | 4. Application module |
| 183 | 45 | --------------------- |
| 184 | -Add GLog::buffer() method that returns the content of the logger buffer. | |
| 185 | - | |
| 186 | -A GApplicationPars::syspfiles() setter and getter method was added to allow the | |
| 187 | -specification of an application specific system parameter file path. If such a | |
| 188 | -file path is specified, the loading of the application parameters needs to be | |
| 189 | -redone by the client. The GApplicationPars::load() methods now gives priority | |
| 190 | -to a parameter file found in the syspfiles folder and updates parameter values | |
| 191 | -using the parameter file found in the user's pfiles folder. In that way, any | |
| 192 | -changes in the parameter file structure should be handled transparently (#2513). | |
| 193 | - | |
| 194 | -The GApplicationPar::query() method was made public. | |
| 195 | - | |
| 196 | -Add GApplicationPar::was_queried() method and do no longer change the mode | |
| 197 | -of queried parameters to hidden. This makes sure that the correct mode will | |
| 198 | -be written to the parfile, also for q-mode parameters (#2495). | |
| 46 | +None | |
| 199 | 47 | |
| 200 | 48 | |
| 201 | 49 | 5. Base module |
| ... | ... | @@ -205,10 +53,6 @@ None |
| 205 | 53 | |
| 206 | 54 | 6. FITS I/O Interface |
| 207 | 55 | --------------------- |
| 208 | -Add GFitsTable::remove() methods that allow the removal of table columns from | |
| 209 | -a GFitsTable object. A protected GFitsTable::update_header() method was also | |
| 210 | -added to update the header after FITS table row or column manipulations (#2339). | |
| 211 | - | |
| 212 | 56 | None |
| 213 | 57 | |
| 214 | 58 | |
| ... | ... | @@ -219,36 +63,17 @@ None |
| 219 | 63 | |
| 220 | 64 | 8. Model module |
| 221 | 65 | --------------- |
| 222 | -Add GModel::scales() method to return number of scales for this model and | |
| 223 | -add GModel::scale() parameter access methods (#2892). | |
| 224 | - | |
| 225 | -Add GModelSpatial::has_free_pars() method that checks whether a spatial | |
| 226 | -model component has free model parameters or not (#2715). | |
| 227 | - | |
| 228 | -The GModelSpectralExponential class was added that implements an exponential | |
| 229 | -function that can be used for EBL studies (#2454). | |
| 230 | - | |
| 231 | -Add a GModelSpatialRadialProfileGauss() position and width constructor, add | |
| 232 | -GModelSpatialRadialProfileGauss::sigma() getter and setter methods, and avoid | |
| 233 | -recomputations if the position of the Gaussian changed (#2463). | |
| 66 | +None | |
| 234 | 67 | |
| 235 | 68 | |
| 236 | 69 | 9. Numerics module |
| 237 | 70 | ------------------ |
| 238 | -The gammalib::gauss_integral() function was added to compute the area under a | |
| 239 | -Gaussian between two boundaries (#2422). | |
| 240 | - | |
| 241 | -The gammalib::atan2() function was added to compute the arc tangens of a ratio | |
| 242 | -in radians (#2308). | |
| 243 | - | |
| 244 | -The gammalib::plaw_integral() function was added to compute the area under a | |
| 245 | -power law between two boundaries (#2308). | |
| 71 | +None | |
| 246 | 72 | |
| 247 | 73 | |
| 248 | 74 | 10. Observation module |
| 249 | 75 | ---------------------- |
| 250 | -Add "parallel" to the OpenMP pragma in GObservations::likelihood::eval() to avoid | |
| 251 | -freezing of the code (#2678). | |
| 76 | +None | |
| 252 | 77 | |
| 253 | 78 | |
| 254 | 79 | 11. Optimization module |
| ... | ... | @@ -258,30 +83,12 @@ None |
| 258 | 83 | |
| 259 | 84 | 12. Sky module |
| 260 | 85 | -------------- |
| 261 | -The GWcs::wcs_set() method now sets m_radesys and m_equinox members through the | |
| 262 | -new protected GWcs::wcs_set_radesys() method. By default, sky maps now have | |
| 263 | -a RADECSYS=ICRS keyword (#2866). | |
| 264 | - | |
| 265 | -An OpenMP locking mechanism was added to GWcs::dir2pix that improves the speed of | |
| 266 | -the code parallelization by avoiding mutual lockups of the threads (#2770). | |
| 267 | - | |
| 268 | -The class GWcsARC was added to handle ARC WCS projections (#2541). In addition | |
| 269 | -the private GWcs::prj_bchk() method was added to implement boundary checking | |
| 270 | -similar to the checking done in WCS. | |
| 271 | - | |
| 272 | -A precomputation cache was added to the GWcs::dir2pix() and GWcs::pix2dir() | |
| 273 | -methods so that results are not recomputed for the same arguments. This should | |
| 274 | -provide some speed-up as it avoids unnecessary coordinate transformations. | |
| 275 | - | |
| 276 | -Add GSkyDir::cos_dist() method that computes the cosine of the angular distance | |
| 277 | -between two sky directions. Using this method avoids computation of the arc | |
| 278 | -cosine (#2309). | |
| 86 | +None | |
| 279 | 87 | |
| 280 | 88 | |
| 281 | 89 | 13. Support module |
| 282 | 90 | ------------------ |
| 283 | -The gammalib::replace_segment() function was added that replaces string segments | |
| 284 | -by replacement strings. | |
| 91 | +None | |
| 285 | 92 | |
| 286 | 93 | |
| 287 | 94 | 14. XML module |
| ... | ... | @@ -296,24 +103,7 @@ None |
| 296 | 103 | |
| 297 | 104 | 16. Xspec module |
| 298 | 105 | ---------------- |
| 299 | -The GPha::write() method wrote the correct header keywords in the PHA files, | |
| 300 | -but those were overwritten by the initial header keywords that were actually | |
| 301 | -found in the PHA file before. This led to a problem when stacking CTA On/Off | |
| 302 | -observations (#2683). | |
| 303 | - | |
| 304 | -Add setter and getter methods to access the attributes backfile, corrfile, | |
| 305 | -respfile and ancrfile that inform about related files, and that are needed | |
| 306 | -for OGIP/XSPEC compliance. The attributes are written and read from FITS | |
| 307 | -files (#2404). | |
| 308 | - | |
| 309 | -Add methods and operators to GPha to store additional columns in the data | |
| 310 | -structure, similar to what exists for GArf. In addition, GPha::emin_obs() | |
| 311 | -and GPha::emax_obs() setter and getter methods were added that allow storing | |
| 312 | -and retrieving the minimum and maximum energy of the observation that was | |
| 313 | -used to fill the spectrum. This allows to define an ROI for On/Off analysis. | |
| 314 | - | |
| 315 | -The output files of the GPha, GArf and GRmf files are now compliant with the | |
| 316 | -OGIP format that is needed for a XSPEC analysis (#2404). | |
| 106 | +None | |
| 317 | 107 | |
| 318 | 108 | |
| 319 | 109 | 17. Test module |
| ... | ... | @@ -328,187 +118,12 @@ None |
| 328 | 118 | |
| 329 | 119 | 19. Fermi-LAT interface |
| 330 | 120 | ----------------------- |
| 331 | -Add kludge that allows handling of source maps that do not have WCS information | |
| 332 | -in the diffuse model maps. Such source maps are produced by the fermitools | |
| 333 | -version 1.0 (#2850). | |
| 334 | - | |
| 335 | -The P8V3 Fermi/LAT response functions are now included in the package and | |
| 336 | -unit tests for that response functions were added. | |
| 121 | +None | |
| 337 | 122 | |
| 338 | 123 | |
| 339 | 124 | 20. CTA interface |
| 340 | 125 | ----------------- |
| 341 | -Add the GCTAModelSpatialLookup class that implements a lookup table for the | |
| 342 | -energy-dependent spatial modelling of the background (#2878). | |
| 343 | - | |
| 344 | -Add the GCTAModelSpatialGaussSpectrum class that implements an energy-dependent | |
| 345 | -Gaussian spatial background model (#2868). | |
| 346 | - | |
| 347 | -Instrument scale factors are now also taken in an On/Off analysis into account. | |
| 348 | -The scale factors were added to the computation in GCTAOnOffObservation::N_gamma() | |
| 349 | -(#2867). | |
| 350 | - | |
| 351 | -The IRF integration precision in GCTAResponseIrf::irf_radial, | |
| 352 | -GCTAResponseIrf::irf_elliptical and GCTAResponseIrf::irf_diffuse was set to | |
| 353 | -6 to cope with the tabulated H.E.S.S. PSF (#2860). | |
| 354 | - | |
| 355 | -A missing term was added in GCTAOnOffObservation::wstat_value for computation | |
| 356 | -of the number of background counts in case that Non=0 (#2838). | |
| 357 | - | |
| 358 | -CTA background rates are now per ontime and not livetime. This makes the IRF | |
| 359 | -background consistent with the cube background, and is also consistent with | |
| 360 | -the open gamma data format (#2758). | |
| 361 | - | |
| 362 | -The classes GCTACubeSourcePoint and GCTACubeSourceDiffuse were removed since | |
| 363 | -the response caching is now performed at the GCTAResponse level, hence no | |
| 364 | -dedicated response cache classes are needed anymore (#2722). | |
| 365 | - | |
| 366 | -The arguments of the GCTACubeEdisp::operator() were changed from, passing | |
| 367 | -now reconstructed and true energy objects, followed by a true sky direction. | |
| 368 | -This is more consistent with the GCTAEdisp interface. The stacked response | |
| 369 | -is no longer cut in true energy. Before the information outside the | |
| 370 | -reconstructed energy bounds were reset to zero due to spill over effects, | |
| 371 | -but this lead a big bias in the H.E.S.S. analysis where energy dispersion is | |
| 372 | -important. The cutting was therefore disabled (#2721). | |
| 373 | - | |
| 374 | -Rename GCTAResponseIrf::lo_save_thres() and GCTAResponseIrf::hi_save_thres() | |
| 375 | -to GCTAResponseIrf::lo_safe_thres() and GCTAResponseIrf::hi_safe_thres() | |
| 376 | -(#2716). | |
| 377 | - | |
| 378 | -The GCTAResponseCache class was added to implement a general response cache for | |
| 379 | -CTA. The response cache is now used in GCTAResponse::irf(GEvent&, GSource&, | |
| 380 | -GObservation&) and in GCTAResponseIrf::nroi(GModelSky&, GEnergy&, GTime&, | |
| 381 | -GEnergy&, GTime&, GObservation&) in case that the spatial model has no free | |
| 382 | -parameters. This means that now all other spatial models with frozen parameters | |
| 383 | -will be cached. The use of the cache can be toggled by internal data members. | |
| 384 | -The IRF cache was removed from GCTAEventList since it is no longer used (#2715). | |
| 385 | - | |
| 386 | -The GCTAOnOffObservation observation constructor now takes a model container | |
| 387 | -as argument and the name of a sky model component. The ARF computation is | |
| 388 | -performed by computing the IRF for the spatial model of the named sky model | |
| 389 | -component over the On region. In that way also extended sources can be properly | |
| 390 | -handled (#2292). The background model is now also extracted from the model | |
| 391 | -container and used for the computation of the alpha factors and the background | |
| 392 | -response, if the use_model_bkg argument is true (#2710). | |
| 393 | - | |
| 394 | -GCTABackground3D::init_mc_cache now pre-computes the Monte Carlo cache at energy | |
| 395 | -nodes of the background cube, and in addition, inserts 8 logarithmically spaced | |
| 396 | -nodes between each pair of nodes. This assures that the energy variations of the | |
| 397 | -background rate are precisely captured and reproduced in the Monte Carlo | |
| 398 | -simulations (#2708). | |
| 399 | - | |
| 400 | -To accomodate the new GCTAEdisp::operator(), the energy dispersion integration | |
| 401 | -is now done in linear true energy instead of logarithmic true energy. This was | |
| 402 | -needed to make the simulated and model event distributions compatible (#2706). | |
| 403 | - | |
| 404 | -The GCTAEdisp::operator() now returns energy dispersion values per MeV. The | |
| 405 | -units are now consistent with the expectation in GResponse, and this changes | |
| 406 | -assurance the coherence between the various classes. In particular, no re- | |
| 407 | -normalization is needed anymore to digest the H.E.S.S. energy dispersion, and | |
| 408 | -also the CTA energy dispersion is handled correctly (#2704). | |
| 409 | - | |
| 410 | -The GCTAEdisp class now uses GEnergy objects instead of log10(E) to deal with | |
| 411 | -true and reconstructed energies. This avoids computational overhead when going | |
| 412 | -from one unit to another (#2704). | |
| 413 | - | |
| 414 | -The GCTAInstDir class now assures that only valid information can be accessed. | |
| 415 | -Since the class can hold a sky direction and detector coordinates, flags were | |
| 416 | -added that signal what information actually exists in the class. If a non- | |
| 417 | -existing information is accessed an exception is thrown (#2694). | |
| 418 | - | |
| 419 | -Add the GCTAModelBackground class that implements a general factorised CTA | |
| 420 | -background model. The spatial component of the model is implemented by the | |
| 421 | -abstract GCTAModelSpatial based class, the GCTAModelSpatialRegistry class | |
| 422 | -registers all possible spatial model component. GCTAModelRadial now derives | |
| 423 | -from GCTAModelSpatial and is a special instance of the spatial model component. | |
| 424 | -The GCTAModelSpatialMultiplicative class was added to implement an arbitrary | |
| 425 | -multiplicative spatial model (#2694). | |
| 426 | - | |
| 427 | -Correct the handling of stacked On/Off observations in the absence of a | |
| 428 | -background IRF template (#2683). | |
| 429 | - | |
| 430 | -The GCTACubeBackground class is now defined for energy boundaries instead of | |
| 431 | -nodes so that the background cube can have the same dimensions as the counts | |
| 432 | -cube and no interpolation is needed anymore. The GCTACubeBackground::fill() | |
| 433 | -method now computes the integral of the background rate over a energy bin | |
| 434 | -assuming a power law dependence throughout the bin (#2677). | |
| 435 | - | |
| 436 | -Remove setting of effective area energy boundaries in GCTAAeff2D::read() method | |
| 437 | -from "LO_THRES" and "HI_THRES" keywords, since the values are reconstructued | |
| 438 | -energies but the effective area is given in true energies. The keywords are also | |
| 439 | -read in GCTAResponseIrf::load_aeff() and it is not required to apply the values | |
| 440 | -in GCTAAeff2D (#2674). | |
| 441 | - | |
| 442 | -The maximum energy in GCTAAeff2D was not computed correctly due to a bug in the | |
| 443 | -indexing. This was corrected now (#2674). | |
| 444 | - | |
| 445 | -GCTAEdisp2D now supports "ENERG" as column name instead of "ETRUE" in an energy | |
| 446 | -dispersion FITS file (#2670). | |
| 447 | - | |
| 448 | -Change PSF table default extension name in GCTAPsfTable.hpp to "PSF_2D_TABLE". | |
| 449 | -Allow also "EDISP_2D" as extension name for the energy dispersion and pickle | |
| 450 | -GCTAResponseIrf class via XML interface. Drop the storing of component filenames | |
| 451 | -and use instead directly the filenames stored with the IRF components (#2660). | |
| 452 | - | |
| 453 | -The GCTAOnOffObservation now supports IRFs where the effective area is given | |
| 454 | -for an applied theta-cut. In that case, the "RAD_MAX" keyword is set, and | |
| 455 | -GCTAOnOffObservation will detect this and will not compute the PSF containment | |
| 456 | -since it is already included in the IRF. The class will check whether the radial | |
| 457 | -cut is consistent with the size of the On region, so that inconsistent computations | |
| 458 | -are avoided (#2657). | |
| 459 | - | |
| 460 | -The optional argument "use_irf_bkg" was assed to the GCTAOnOffObservation | |
| 461 | -constructor to turn off the usage of the IRF background template in the | |
| 462 | -computation of the On/Off observation and to assume an identical background | |
| 463 | -rate in the On and Off regions instead. This is the classical analysis method | |
| 464 | -for IACT data using reflected regions. If use_irf_bkg=false the alpha parameter | |
| 465 | -that is stored in the "BACKSCAL" column of the On spectrum will become energy | |
| 466 | -independent, and reflect the solid angle between On and Off regions. The | |
| 467 | -"BACKRESP" column, stored in the Off spectrum, will be set to zero. Fitting | |
| 468 | -using the "cstat" statistic will not be possible, the usage of the "wstat" | |
| 469 | -statistic is mandatory (#2659). | |
| 470 | - | |
| 471 | -Non-mandatory column names are now ignored in GCTABackground3D::read() to | |
| 472 | -make the code compatible with the current H.E.S.S. data structure (#2339). | |
| 473 | - | |
| 474 | -The 3D background model now supports "BKG" column names instead of the "BGD" | |
| 475 | -column names. Since "BKG" should be the default, all "BGD" keywords in the | |
| 476 | -calibration files were changed to "BKG" (#2343). | |
| 477 | - | |
| 478 | -The likelihood value is now also computed in GObservations::likelihood::eval(), | |
| 479 | -CTAOnOffObservation::likelihood_wstat() and CTAOnOffObservation::likelihood_cstat() | |
| 480 | -for the case that the model has no parameters. This is particularily needed for | |
| 481 | -the TS computation with the "wstat" statistic which is meaningful without any | |
| 482 | -model (#2312). | |
| 483 | - | |
| 484 | -The energy bounds of a CTA observations are now taken into account when setting | |
| 485 | -up a GCTAOnOffObservation so that observation-specific energy thresholds are | |
| 486 | -correctly handled (#2429). | |
| 487 | - | |
| 488 | -The computation of diffuse map models was sped-up by including some value caching | |
| 489 | -and avoiding allocation and de-allocation of variables during response computation | |
| 490 | -(#2466). | |
| 491 | - | |
| 492 | -The integration precision of the diffuse model response was increase to cope with | |
| 493 | -sky maps that have a higher spatial resolution than the size of the PSF (#2458). | |
| 494 | - | |
| 495 | -A GCTAEdisp::prob_erecobin() method has been defined and implemented in the | |
| 496 | -derived energy dispersion classes that returns the probability that a photon with | |
| 497 | -a given true energy is reconstructed with a energy comprised in a given energy | |
| 498 | -interval. The method makes use of the internal structure of the response information | |
| 499 | -and avoids a numerical integration over reconstructed energy (#2422). | |
| 500 | - | |
| 501 | -A GCTAInstDir::theta() and GCTAInstDir::phi() methods were added that return the | |
| 502 | -distance to the camera centre in radians and the azimuth angle, respectively (#2308). | |
| 503 | - | |
| 504 | -A rate_ebin() method was added to the interface of the GCTABackground class and | |
| 505 | -implemented for the GCTABackgroundPerfTable and GCTABackground3D classes. The method | |
| 506 | -computes for a given instrument direction the background rate integrated over an | |
| 507 | -energy bin (#2308). | |
| 508 | - | |
| 509 | -The GTIs a preserved when copying a GCTAEventList or GCTAEventCube object. In addition, | |
| 510 | -the MJD reference of the first observation is used when building an exposure cube | |
| 511 | -(#2054). | |
| 126 | +None | |
| 512 | 127 | |
| 513 | 128 | |
| 514 | 129 | 21. COMPTEL interface | ... | ... |
README.md
| 1 | 1 | GammaLib information |
| 2 | 2 | ==================== |
| 3 | -* Version: 1.6.0 (29 May 2019) | |
| 3 | +* Version: 1.6.1 (5 June 2019) | |
| 4 | 4 | * Author: Juergen Knoedlseder (jurgen.knodlseder@irap.omp.eu) |
| 5 | 5 | |
| 6 | 6 | [](https://cta-jenkins.irap.omp.eu/job/gammalib-integrate-os/) |
| ... | ... | @@ -184,7 +184,7 @@ If everything works successfully you should see |
| 184 | 184 | or |
| 185 | 185 | |
| 186 | 186 | ============================================================================ |
| 187 | - Testsuite summary for gammalib 1.6.0 | |
| 187 | + Testsuite summary for gammalib 1.6.1 | |
| 188 | 188 | ============================================================================ |
| 189 | 189 | # TOTAL: 21 |
| 190 | 190 | # PASS: 21 | ... | ... |
configure.ac
| ... | ... | @@ -29,7 +29,7 @@ |
| 29 | 29 | ############################################################################# |
| 30 | 30 | # Initialisation # |
| 31 | 31 | ############################################################################# |
| 32 | -AC_INIT([gammalib], [1.6.0], [jurgen.knodlseder@irap.omp.eu], [gammalib]) | |
| 32 | +AC_INIT([gammalib], [1.6.1], [jurgen.knodlseder@irap.omp.eu], [gammalib]) | |
| 33 | 33 | AC_CONFIG_SRCDIR([src/support/GTools.cpp]) |
| 34 | 34 | AC_CONFIG_MACRO_DIR([m4]) |
| 35 | 35 | AC_CONFIG_AUX_DIR([.]) | ... | ... |
doc/Doxyfile
| ... | ... | @@ -32,7 +32,7 @@ PROJECT_NAME = GammaLib |
| 32 | 32 | # This could be handy for archiving the generated documentation or |
| 33 | 33 | # if some version control system is used. |
| 34 | 34 | |
| 35 | -PROJECT_NUMBER = 1.6.0 | |
| 35 | +PROJECT_NUMBER = 1.6.1 | |
| 36 | 36 | |
| 37 | 37 | # Using the PROJECT_BRIEF tag one can provide an optional one line description |
| 38 | 38 | # for a project that appears at the top of each page and should give viewer | ... | ... |
doc/source/admin/download.rst
| ... | ... | @@ -4,13 +4,14 @@ Download |
| 4 | 4 | ======== |
| 5 | 5 | |
| 6 | 6 | The latest GammaLib release is |
| 7 | -`gammalib-1.6.0 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.6.0.tar.gz>`_ | |
| 8 | -(29 May 2019). | |
| 7 | +`gammalib-1.6.1 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.6.1.tar.gz>`_ | |
| 8 | +(5 June 2019). | |
| 9 | 9 | |
| 10 | 10 | Below a list of older GammaLib releases. Please read the :ref:`release` to |
| 11 | 11 | learn more about new features and corrected bugs in a given release. |
| 12 | 12 | |
| 13 | 13 | To download an older release, click on the corresponding release number: |
| 14 | +`1.6.0 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.6.0.tar.gz>`_ | |
| 14 | 15 | `1.5.4 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.5.4.tar.gz>`_ |
| 15 | 16 | `1.5.3 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.5.3.tar.gz>`_ |
| 16 | 17 | `1.5.2 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.5.2.tar.gz>`_ | ... | ... |
doc/source/admin/release_history/1.6.1.rst
0 → 100644
| 1 | +.. _1.6.1: | |
| 2 | + | |
| 3 | +GammaLib 1.6.1 release (5 June 2019) | |
| 4 | +==================================== | |
| 5 | + | |
| 6 | +Overview | |
| 7 | +-------- | |
| 8 | + | |
| 9 | +GammaLib 1.6.1 is a bug fix release for GammaLib release 1.6. | |
| 10 | + | |
| 11 | +The following bugs were fixed: | |
| 12 | + | |
| 13 | +* [`2724 <https://cta-redmine.irap.omp.eu/issues/2724>`_] - | |
| 14 | + Fix initialisation script for c-shell | ... | ... |
doc/source/admin/release_history/index.rst
doc/source/conf.py
| ... | ... | @@ -58,7 +58,7 @@ copyright = u'2006-2019, GammaLib developers' |
| 58 | 58 | version = '1.6' |
| 59 | 59 | |
| 60 | 60 | # The full version, including alpha/beta/rc tags. |
| 61 | -release = '1.6.0' | |
| 61 | +release = '1.6.1' | |
| 62 | 62 | |
| 63 | 63 | # The language for content autogenerated by Sphinx. Refer to documentation |
| 64 | 64 | # for a list of supported languages. | ... | ... |
sonar-project.properties