From 9713654b22cdbc64ef777a1bcc666702acb8a7c4 Mon Sep 17 00:00:00 2001 From: Hannu Parviainen Date: Wed, 29 Jan 2025 12:11:24 +0000 Subject: [PATCH] Updated the change log to reflect new `mask_treatment` options and changes to BoxcarExtract handling. --- CHANGES.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index fd0136c..0539102 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -18,9 +18,16 @@ Other changes New Features ^^^^^^^^^^^^ + - Added the ``mask_treatment`` parameter to Background, Trace, and Boxcar Extract - operations to handle non-finite data and boolean masks. Choice of ``filter``, - ``omit``, or ``zero-fill``. [#216] + operations to handle non-finite data and boolean masks. Available options are + ``filter``, ``omit``, or ``zero-fill``, with ``exclude`` additionally available + for BoxcarExtract. [#216] + +- Modified BoxcarExtract to ignore non-finite pixels when ``mask_treatment`` is set + to ``exclude``; otherwise, non-finite values are propagated. Boxcar extraction is + now carried out as a weighed sum over the window. When no non-finite values are + present, the extracted spectra remain unchanged from the previous behaviour. API Changes ^^^^^^^^^^^