From ad59645c0cf641e80d32a5ddd2f2d73a5bdf2995 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 13 Dec 2019 09:30:56 +0100 Subject: [PATCH] Avoid negative squared standard deviations in cssrcdetect --- ChangeLog | 3 ++- NEWS | 7 +++++-- doc/source/admin/release_history/1.7.rst | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a4ff45f..1fd378f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,9 @@ -2019-11-15 +2019-12-13 * Version 1.7.0 released ======================== + Avoid negative squared standard deviations in cssrcdetect Fix log file header repetition in some cscripts (#3066) Add Moon constraints to csviscube (#3065) Remove response cache before source testing in cttsmap (#2973) diff --git a/NEWS b/NEWS index 04913d5..42d7aca 100755 --- a/NEWS +++ b/NEWS @@ -1,6 +1,6 @@ New Features and Important Changes in ctools 1.7.0 -15 November 2019 +13 December 2019 Introduction @@ -270,7 +270,10 @@ None cssrcdetect - Detects sources in sky map ---------------------------------------- -None +The using of a smoothing kernel in the _map_moments() method can lead to +negative squared standard deviations that lead to an exception when the +square root is taken. A filter was introduced that sets all small values +of mean and std to zero, avoiding thus the exception. cstsdist - Computes Test Statistic distribution diff --git a/doc/source/admin/release_history/1.7.rst b/doc/source/admin/release_history/1.7.rst index c71cb95..5af82c8 100644 --- a/doc/source/admin/release_history/1.7.rst +++ b/doc/source/admin/release_history/1.7.rst @@ -17,6 +17,7 @@ In particular, this release provides: Bug fixes --------- +* Avoid negative squared standard deviations in :ref:`cssrcdetect` * [`3066 `_] - Fix log file header repetition in some cscripts -- libgit2 0.21.4