diff --git a/ChangeLog b/ChangeLog index 7a2f05e..88f949c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,12 @@ -2016-08-12 +2016-09-26 * Version 1.2.0 released ======================== + Fix ctbin segfault bug for varying energy thresholds (#1850) + Make csresmap enumbins parameter hidden (#1844) Rename ctskymap::map() to ctskymap::skymap() (#1828) - Introduce ctobservation and ctlikelihood base classes (#1828) + Introduce ctobservation and ctlikelihood base classes (#1828, #1846) Remove ctselect::time_reference() method Add ctool and cscript pars() methods (#1838) Fix ctbin::save() bug for empty observation container (#1835) diff --git a/NEWS b/NEWS index f41420e..9d252e2 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,6 @@ New Features and Important Changes in ctools 1.2.0 -12 August 2016 +26 September 2016 Introduction @@ -32,6 +32,14 @@ observation container. The class implements the following methods: - next_unbinned_observation() Next unbinned CTA observation in container The following ctools derive from the class: - ctbin +- ctbkgcube +- ctcubemask +- ctedispcube +- ctexpcube +- ctmodel +- ctobssim +- ctpsfcube +- ctselect - ctskymap The ctlikelihood base class that derives from the ctobservation base class @@ -41,6 +49,7 @@ class implements the following methods: - opt() Returns pointer to optimizer - evaluate() Evaluates log-likelihood at a given parameter value The following ctools derive from the class: +- ctbutterfly - cterror - ctlike - cttsmap @@ -66,6 +75,9 @@ ctool base class, and exposed in Python as _time_reference(). ctbin - CTA event binning ------------------------- +The ctbin segfaulted when running on an observation container with different +energy thresholds. This problem is now fixed (#1850). + The clear() method now calls GApplication::clear() to conserve the properties of the tool (#1835). diff --git a/cscripts/csresmap.par b/cscripts/csresmap.par index a2e1d0b..ec82ffb 100644 --- a/cscripts/csresmap.par +++ b/cscripts/csresmap.par @@ -35,7 +35,7 @@ outmap, f, a, resmap.fits,,, "Output residual map file" ebinalg, s, h, LOG,LIN|LOG|FILE,, "Binning algorithm" emin, r, a, 0.1,,, "Lower energy limit (TeV)" emax, r, a, 100.0,,, "Upper energy limit (TeV)" -enumbins, i, a, 20,,, "Number of energy bins (0=unbinned)" +enumbins, i, h, 20,,, "Number of model cube energy bins" ebinfile, f, a, NONE,,, "Name of the file containing the energy bin definition" coordsys, s, a, CEL,CEL|GAL,, "Coordinate System" proj, s, a, CAR,AIT|AZP|CAR|MER|MOL|STG|TAN,, "Projection method"