diff --git a/ChangeLog b/ChangeLog index 2b22b60..40a1a8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,9 @@ -2015-07-03 Juergen Knoedlseder +2015-10-12 Juergen Knoedlseder * Version 0.10.0 released ========================= + Limit power law parameters in ctbkgcube (#1547) Extend cspull to stacked analysis (#1503) Add tests for installed ctools version (#1486) Create cscripts Python module, move obsutils in that module (#1470) diff --git a/NEWS b/NEWS index 865874a..339f42b 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,7 @@ New Features and Important Changes in ctools 0.10.0 Author(s) : Juergen Knoedlseder -3 July 2015 +12 October 2015 1. Introduction @@ -89,7 +89,8 @@ None 14. ctbkgcube - CTA background cube generation ---------------------------------------------- -None +Limit the power law prefactor to a range of [0.01,100] and the index to [-5,5]. This +solves some stability problems in csspec (#1547). 15. ctcubemask - CTA cube filtering diff --git a/README b/README index aa84080..49ae36c 100644 --- a/README +++ b/README @@ -1,8 +1,8 @@ ctools information ================== -Version: 0.9.0 (20 May 2015) +Version: 0.10.0 (12 October 2015) Author: Juergen Knodlseder (jurgen.knodlseder@irap.omp.eu) -GammaLib dependency: 0.10.0 +GammaLib dependency: 0.11.0 License information diff --git a/src/ctbkgcube/ctbkgcube.cpp b/src/ctbkgcube/ctbkgcube.cpp index a6efa81..6da5b12 100644 --- a/src/ctbkgcube/ctbkgcube.cpp +++ b/src/ctbkgcube/ctbkgcube.cpp @@ -314,7 +314,9 @@ void ctbkgcube::run(void) // that model to the input model in place of the original // background models // TODO: We might think of creating the spectral model via user parameter - GModelSpectralPlaw spectral(1.0, 0.0, GEnergy(1.0, "TeV")); + GModelSpectralPlaw spectral(1.0, 0.0, GEnergy(1.0, "TeV")); + spectral["Prefactor"].range(0.01, 100.0); + spectral["Index"].range(-5.0, 5.0); GCTAModelCubeBackground model(spectral); // Set model name