Commit ad59645c0cf641e80d32a5ddd2f2d73a5bdf2995

Authored by Jürgen Knödlseder
1 parent d086ddbb

Avoid negative squared standard deviations in cssrcdetect

ChangeLog
1 -2019-11-15 1 +2019-12-13
2 2
3 * Version 1.7.0 released 3 * Version 1.7.0 released
4 ======================== 4 ========================
5 5
  6 + Avoid negative squared standard deviations in cssrcdetect
6 Fix log file header repetition in some cscripts (#3066) 7 Fix log file header repetition in some cscripts (#3066)
7 Add Moon constraints to csviscube (#3065) 8 Add Moon constraints to csviscube (#3065)
8 Remove response cache before source testing in cttsmap (#2973) 9 Remove response cache before source testing in cttsmap (#2973)
1 New Features and Important Changes in ctools 1.7.0 1 New Features and Important Changes in ctools 1.7.0
2 2
3 -15 November 2019 3 +13 December 2019
4 4
5 5
6 Introduction 6 Introduction
@@ -270,7 +270,10 @@ None @@ -270,7 +270,10 @@ None
270 270
271 cssrcdetect - Detects sources in sky map 271 cssrcdetect - Detects sources in sky map
272 ---------------------------------------- 272 ----------------------------------------
273 -None 273 +The using of a smoothing kernel in the _map_moments() method can lead to
  274 +negative squared standard deviations that lead to an exception when the
  275 +square root is taken. A filter was introduced that sets all small values
  276 +of mean and std to zero, avoiding thus the exception.
274 277
275 278
276 cstsdist - Computes Test Statistic distribution 279 cstsdist - Computes Test Statistic distribution
doc/source/admin/release_history/1.7.rst
@@ -17,6 +17,7 @@ In particular, this release provides: @@ -17,6 +17,7 @@ In particular, this release provides:
17 Bug fixes 17 Bug fixes
18 --------- 18 ---------
19 19
  20 +* Avoid negative squared standard deviations in :ref:`cssrcdetect`
20 * [`3066 <https://cta-redmine.irap.omp.eu/issues/3066>`_] - 21 * [`3066 <https://cta-redmine.irap.omp.eu/issues/3066>`_] -
21 Fix log file header repetition in some cscripts 22 Fix log file header repetition in some cscripts
22 23