ChangeLog for emask
===================

Version 2.16 - 2020-01-10 (JB)
------------------------------
        + Make keyword propagation conditional to their existence
	+ Increase maximum number of regions to 16384 and add a warning
	  if that number is exceeded
	+ Optimize CPU for small regions
	+ Fix 0.5 pixel offset
	+ Add detmasktable parameter to allow writing output in the PRIMARY


Version 2.15 - 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 2.14 - 2014-07-24 (IT)
------------

	+ edetect_io_mask.f90: copy full dataset and array headers of the
	  input image to the detection masks (instead of a list of selected
	  keywords). In particular: make physical coordinates available.


Version 2.13.3 - 2012-06-16 (IT)
---------------------------------

	+ Documentation: Typographical, grammatical, and formal corrections.
          Fixed broken Errors Section (SPR-6741).
	  Made consistent with parameter file.

Version 2.13.2 - 2011-02-14 (RS)
---------------------------------

	+ src/emask_mod.f90

	Copies some keywords from the MASK array to the PRIMARY header
	which are needed in detection tasks (SCR-314)

Version 2.13.1 - 2011-02-10 (RS)
---------------------------------

Fix the test to use the new MASK extension.
	+src/mask_image.ref0.gz
	 src/checkouput.f90

Version 2.13 - 2011-01-07 (RS)
---------------------------------

Change the output format from writing a
PRIMARY array to writing an extension called MASK.
(SPR-6628)
	
Version 2.12 - 2007-02-09 (GL)
---------------------------------

Support rotated box regions 
in file given as 'regionset'.
Shift excluded regions by -0.5,-0.5 image pixels
in order to meet ds9 region conventions.
	
	
Version 2.11 - 2005-02-14 (GL)
---------------------------------

New version number due to upload problem.
	
Version 2.10 - 2005-02-14 (GL)
---------------------------------

Implement optional use of fits region file to exclude circular
regions from mask.
	

Version 2.9 - 2003-06-18 (GV)
-----------
	+ Add sas to DEPEND.
	
Version 2.8 - 2002-05-27 (GL)
------------------------------

Converted .par files to XML


	
Version 2.7 2001-11-07
-----------------------

module edetect_io renamed to edetect_io_mask	
	
Version 2.6.1 2001-05-04
------------------------	

Closed SPR:
  SSC-SPR-2366 poor default value for threshold1	
	
Version 2.6 2000-09-29
-----------------------

Version changed to v2.6
		
Version 2.5.1 2000-09-26
-------------------------

error in emask.lyt corrected
		
Version 2.5 2000-09-26
------------------------

Closed SPR:
  SSC-SPR-1966 uninitialised variable causes blank mask	
	
Version 2.4.1 2000-07-02
----------------------------

Closed SPR:
  
  SSC-SPR-1787 missing info file

Version 2.4 - 2000-05-29 (GV)
-----------
      + upload 2.3.1 with new version number for saslh-alpha.
      

Version 2.3.1 (Marco Beijersbergen, 1999-12-15)
-------------

- added DISTRIBUTION
- fixed obsolete DAL calls


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

- Parameter names changed to conform to conventions	
	

Version 2.2
----------------------

-minor corrrections	

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

- Task now reads and writes arbitrarily sized primary fits images.
  Task distribution .tgz file is now considerably smaller.
	
Closed SPR:

- 0774: Typos in task description corrected
	
Version 2.0
----------------------

- "To do list" added to ChangeLog
- second threshold parameter introduced (1: fraction of maximum exposure;
	                                 2: gradient threshold)
- doc updated
	
Closed SPRs

- 0084 & 0085: get_files and cp_head have been moved to module edetect_io
	which will be used by all AIP SAS tasks.	
- 0514: checkoutput -> ./checkoutput	
	
Version 1.3
----------------------

Closed SPRs:

 - 0295: Input fits files are now gzip'ed	
 - 0327: Default values for file name parameters deleted	
 - 0469: "draft" has been deleted in task description
 - 0489: test harness  ow uses a f90 program to compare the output
	  mask with a reference mask.
	
	
Version 1.2
----------------------	

Closed SPRs:

 - 0296: see 330	
 - 0328: obsolete file removed	
 - 0329: funcionality added: detection mask is created 
	 based on exposure and spacial gradient of exposure.
 - 0330: test/Makefile edited
	
Version 1.1
----------------------

ChangeLog added

Closed SPRs:

 - 0081: .par file provided instead of .prm
 - 0082: fatal changed to error
 - 0086: test harness is more robust now
 - 0087: "

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

 - 0080: test_plan
 - 0083: dataset opened twice; to be corrected in next version
 - 0084: get_files to be replaced by a generic mechanism	 	
 - 0085: cp_head to be replaced by a generic mechanism

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

- Original version submitted to the SOC

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

- add error and verbosity control