ChangeLog for esensmap
======================
Version 4.0.2 - 2024-09-10 (IT)
-----------------------------
        + edetect_io_sens.f90: included a warning about experimental
	  implementation of multi-image mode
        + Documentation update wrt to ECFs * flux ratios

Version 4.0.1 - 2024-07-19 (RDS)
-----------------------------
        + src/Makefile - added the OAL package to USEDLIBS
        
Version 4.0 - 2021-07-07 (IT)
-----------------------------
        + new deltac mode, based on Arches code by Christian Motch (OAS),
          parameter: statistic=poisson|deltac to switch between
          eboxdetect-like classical mode and new emldetect-like cash statistic
        + new option to write sensitivity maps in flux units, instead of
          or in addition to the classical count-rate maps
          parameter: outunit=rate|flux|both
        + related new parameters:
          ecf (list): energy conversion factors, same number as input images
          energies: mid-band energies at which the PSFs are read
          doff (optional): step size of PSF off-axis angles
          ecut (optional, cf emldetect): half box size to evaluate the PSF
          psfmodel=ellbeta|slew: model to describe the PSF shape
          ("medium" not included for technical reasons)
        + turned parameter sensimageset into a list to supply two file names
          if outunit=both (first one in rate units, second one in flux units)
        + other related updates:
          Makefile to include the new module, cal, ssc, and cdflib.
          Read wcs from first background map and pointing coordinates and
          attitude information from all background maps
          (while, so far, band 1 attitude is used only).
          minor: changed verbosity level of mask reading from Sparse to Verbose
        + new file cdflib_cm.f90: debugged cdflib version, used by deltac mode
        + Documentation: new deltac mode and major revision


Version 3.13 - 2018-02-13 (EO)
------------------------------
        + This is a new major version of this package including a new GNU
        Public License Text disclaimer required to distribute the SAS source
        code to the Astronomical Community under the terms of the GNU Public
        License. The text as it is shown below is the same that has been
        included in all SAS source code files.

        ESA (C) 2000-2018

        This file is part of ESA's XMM-Newton Scientific Analysis System
        (SAS).

        SAS is free software: you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation, either version 3 of the License, or
        (at your option) any later version.

        SAS is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.

        You should have received a copy of the GNU General Public License
        along with SAS.  If not, see <http://www.gnu.org/licenses/>.
        ---------------------------------------------------------------------


Version 3.12.2 - 2016-04-22 (IT)
------------
        Documentation: Typo corrected.

Version 3.12.1 - 2016-01-25 (IT)
------------
        Documentation: Description of parameter mlmin. Parameter limits
        updated (SPR-7339).


Version 3.12 - 2014-07-24 (IT)
------------
        + edetect_io_sens.f90: copy full dataset and array headers of the
          input image to the sensitivity maps (instead of a list of selected
          keywords). In particular: make physical coordinates available.


Version 3.11.1 - 2011-02-14 (RDS)
------------
        + src/edetect_io_sens.f90

        Made compatible with mask in MASK extension.
        (SCR-314)

Version 3.11 - 2003-06-18 (GV)
------------
        + Add sas to DEPEND

Version 3.10 - 2002-07-31 GL
----------------------------

Closed SPRs:
SSC-SPR-2878 EXPIDSTR keyword missing
SSC-SPR-2881 ATT_SRC keyword missing


Version 3.9 - 2002-06-05
------------------------

Fixed a bug in v 3.8 that lead
to error condition "Inconsistent WCS keywords"
for valid images.


Version 3.8 - 2002-05-31
------------------------

Closed SPR:
+SSC-SPR-1026 Coherence of input images


Version 3.7 - 2002-05-28
------------------------

Updated DEPEND


Version 3.6 - 2002-05-27
------------------------

Converted .par file to XML



Version 3.5 2001-11-07
----------------------

module edetect_io renamed to edetect_io_sens

Version 3.4.2 2001-05-02
------------------------

Closed SPR:

+ SSC-SPR-2313 Crashes on several instruments and bands

Version 3.4.1 2000-11-09
------------------------

Closed SPR:

+ SSC-SPR-2008 content of CONTENT keyword corrected

Version 3.4 2000-10-09
----------------------

Closed SPR:

+ SSC-SPR-1935 error creating sensitivity map for combined energy band

Version 3.3 2000-09-29
----------------------

Version changed to v3.3


Version 3.2.1  2000-07-02
-------------------------

Closed SPR:

+ SSC-SPR-1790: missing info file


Version 3.2 (May 29, 2000)
-----------------------------

Closed SPRs:

  - 1027: Keyword propagation
  - 1665: Wrong format of errors and warnings


Version 3.0.1 -> 3.1 (Marco Beijersbergen, 1999-12-15)
-----------------------------

- added DISTRIBUTION
- fixed obsolete DAL calls


Version 3.0 (August 24, 1999)
-----------------------------

- task now handles 1024 character file names

Closed SPRs:

  - 0672: pixels with background <= 0 set to -1
  - 0673: pixels with exposure=0 set to -1
  - 0689: output image units for multi-band sensitivity
          explained in description.
  - 1021: I have added some output messages
  - 1022, 1023 & 1024 & 1025: Error in upper limit normalization corrected
  - 1028: Speedup of sensitivity calculation
  - 1051: DEPEND file updated
  - 1052: Spurious files removed
  - 1054: Description date corrected
  - 1055: Version set to 3.0

Open SPRs: 672,673,678,1019,1026,1027


Version 2.2 (July 12, 1999)
---------------------------

Closed SPRs:

  - 0986: taskmain added to DEPEND
  - 1017: Ascii files now end with newlines.
  - 1018: Date and list of open SPRs added to ChangeLog
  - 1020: parameter names now agree to standards; modes, types
          and limits corrected.

Open SPRs: 672,673,678,1019,1021-1028


Version 2.1
----------------------

  - now works with arbitrarily sized input images
  - reads and write primary fits images
  - test harness files are smaller ins size

Version 2.0
----------------------

Closed SPRs:

 - 0150 & 0357: algorithmic section included
 - 0151 & 0152: routines get_files and cp_head ar now included in
                module edetect_io which will be used by all epic
                detection tasks.

Version 1.2
----------------------

'To do list' section added to ChangeLog

Default values of file input paramters removed from config/esensmap.par

Closed SPRs:

 - 0294: test files are now gzip'ed
 - 0299: CLEANFILES in test/Makefile edited
 - 0358: TESTS in test Makefile edited
 - 0359: test harness completely changed (no moe diff)
 - 0472: 'draft' removed from task description

Version 1.1
----------------------

ChangeLog added

Closed SPRs:

 - 0148: .par file provided instead of .prm
 - 0149: fatal changed to error
 - 0153: test harness is more robust now
 - 0154: "

Open SPRs: (will be treated in next task version)

 - 0147: test_plan
 - 0150: algorithmic section to be added in next task version
 - 0151: get_files to be repalced by generic mechanism
 - 0152: cp_head to be replaced by generic mechanism

Version 1.0
----------------------------

- Original version submitted to the SOC

To do list:
------------

- version 1.3: add algorithmic section (done: v2.0)