ChangeLog for rgsspectrum
=========================

Version 2.9 - 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.8.2 - 2016-11-03 (AI)
------------
	+ DATAMAX quality check removed if exposure map is in lambda
	space.
	+ Documentation updated.

Version 2.8.1 - 2014-09-10 (AI)
------------
	+ Bug using rebin parameter in lambda space fixed. SOC-SPR-6923 closed
	
Version 2.8 - 2012-12-17 (AI)
------------
        + reproject method used to calculate AREASCAL and BACKSCAL in lambda space has been removed.
	+ Given the new functionality in rgsfilter and rgsregion that generates the exposure maps 
	and regions in lamdda space, rgsspectrum can calculate the AREASCAL and BACKSCALE 
	without any reprojection. These modification close SOC-SPR-6688.
	+ documentation updated.
	
Version 2.7.5 - 2011-02-16 (AI)
------------
	+  Background corrected RGS spectra cannot be read int XSPEC 12. 
	BACKSCAL keyword added for background subtracted spectrum (S0C-SPR-6647)
	
Version 2.7.4 - 2010-04-01 (AI)
-----------	
	+  Default value of parameter "spectrumbinning" changed to "lambda".
	
Version 2.7.3 - 2010-04-01 (AI)
-----------
	+ Back to version 2.7.1. The modification introduced in version 2.7.2. 
	has to be implemented together with a modification in rgsrfmgen. 
	The SOC-SPR-6577 means: Accumulate counts in lambda grid instead of 
	mlambda, which implies changes in both packages.
	Nevertheless, we have wrote explicitely in the spectrum header that
	the units in the channel axis are: -Angstrom*order
	
Version 2.7.2 - 2010-03-26 (AI)
-----------
	+ SOC-SPR-6577 fixed.
	
Version 2.7.1 - 2009-09-01 (AI)
-----------
	+ Misc. fixes to make gcc-4.3 happy.
	
Version 2.7 - 2009-03-31 (AI)
-----------
	+ The algorithm to calculate BACKSCAL and AREASCAL in lambdabinning has been
	modified. Now BACKSCAL and AREASCAL reflect the bin width difference between
	beta and lambda binning. 
	
Version 2.6.3 - 2008-06-17 (AI)
-----------
	+ Documentation fixed and updated.
	
Version 2.6.2 - 2008-06-04 (AI)
-----------
	+ Mlambda channel index, needed to accumulate counts, is now checked. Only
	positive values are allowed.
	
Version 2.6.1 - 2008-05-23 (AI)
-----------
	+ New parameter "spectrumbinning". This parameter allows to calculate 
	the spectrum in lambda binning or beta binning.
	+ "loadEvent" method has been modified to take into account the event filtering in 
	lambda space.
	+ "out" method has been modified to set up the keywords depedending if the output spectrum
	will be in lambda or beta space.
	+ New method (reproject). Calculates the areascale, backscale, quality
	and errors in the corresponding lambda grid.
	+ New method (setMLambdaChannel).
	+ New error message "LambdaSpectrum" thrown when M_LAMBDA column does not exist 
	in the event file and the lambda spectrum has been chosen.
	
Version 2.6 - 2003-04-22 (CG)
-----------
	+ C++ compliance increased (required by gcc3.2)
	+ DEPEND changed (dal instead of dali)

Version 2.5 - 2002-08-21 (UL)
-----------
	+ now DEPENDs on package sas

Version 2.4 - 2002-07-08 (JDR)
-----------
- requires cal-3.142
- BACKSCAL in HTR mode is now computed using the model background
  distribution from the CCF

Version 2.3 - 2002-05-29 (JDR)
-----------
- propagates EXPIDSTR from input to output, if present

Version 2.2 - 2002-05-09 (JDR)
-----------
- requires param-2.0

Version 2.1 - 2002-05-07 (JDR)
-----------
- total overhaul of the code: simpler formulation of the spectrum statistics
- added optional FRAC_EXP column, and new parameters relating to it
- implemented a crude background correction for HTR mode

Version 1.6 - 2002-03-08 (JDR)
-----------
- modified AREASCAL calculation, pending further refinement

Version 1.5 - 2002-02-20 (JDR)
-----------
- added support for HTR mode data

Version 1.4 - 2002-01-16 (JDR)
-----------
- removed the experimental status tag

Version 1.3 - 2001-10-10 (JDR)
-----------
- changed parameter name --set to --evlist and --sourceset to --srclist

Version 1.2 - 2001-10-01 (JDR)
-----------
- updated runtime default filenames

Version 1.1 - 2001-08-24 (JDR)
-----------
- revised the parameter interface
- outputs the new OGIP PHA file format

Version 0.10 - 2001-04-11 (JDR)
------------
- updated for rgssources-4.0

Version 0.9 - 2001-03-23 (JDR)
-----------
- requires rgslib-1.10

Version 0.8 - 2001-03-09 (JDR)
-----------
- does not require EXPOSURE attribute in EVENTS table

Version 0.7 - 2001-02-07 (JDR)
-----------
- updated for and requires rgslib-1.5

Version 0.6 - 2001-01-10 (JDR)
-----------
- updated for and requires rgslib-1.4

Version 0.5 - 2000-12-15 (JDR)
-----------
- compiles with optimizer enabled

Version 0.4 - 2000-11-03 (JDR)
-----------
- requires rgslib-1.2

Version 0.3.2 - 2000-10-27 (JDR)
-------------
- updated GROUPS

Version 0.3.1 - 2000-10-12 (JDR)
-------------
- attributes RGS_DISP and RGS_XDSP added for rgsspecplot (temporary kludge)

Version 0.3 - 2000-10-05 (JDR)
-----------
- impossibleEvents warning improved and renamed to eventDiscarded

Version 0.2 - 2000-09-25 (JDR)
-----------
- updated --file parameter default for compatibility with rgsproc-0.82
- changed --edgechannels parameter default from zero to two
- command-line interface documented in task description

Version 0.1 - 2000-09-19 (JDR)
-----------
- directory structure created by pkgmaker
- moved here from rgsfluxer-0.8
- fixed bugs associated with negative exposure
- removed internal calculation of FOV coordinates
- removed parameter --robust, the non-robust algorithm is deprecated
- removed temporary parameter --withaltnan
- removed GROUPING column