Commit 83d781d84d9e0e158d5f6f395c4f552d0f6ccd68

Authored by Jürgen Knödlseder
1 parent b31d3a49

Limit power law parameters (#1547).

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