-----------------
:Date 13-6-2022
* New Freatures:
* Atmospheric extinction corrected spectra are stored separately and has become a separate output option.
* Telluric corrected spectra are stored separately and has become a separate output option.
* Atmospheric extinction AND telluric corrected spectra are stored separately and has become a separate output option.
* Atmospheric extinction correction factor and telluric absorption correction can be exported as FITS and CSV.
* Resampling is now performed immediately before creating and saving files. All the calibrations are now done in the native pixel/wavelength sampling.
* Added `TwoDSpec.inspect_line_spread_function()` to view the line spread function used for extraction.
* Using Horne86+Gaussian for optimal extraction now includes aperture correction.
* Added `recompute_continuum`` when generating sensitivity curve.
* Continuum is now supporting both statsmodels.lowess and specutils.get_continuum
* Standard stars can be recognised using any of the designations used by CDS.
* Major bug fixes:
* `ap_trace` trace suffers from a rounding-like error which is now fixed
* `ap_trace` sub-sprectra cleaning was referencing pre-upsampled pixel location instead of the upsampled pixel location
* Occasional wrong flux calibration is fixed as the sensitivity function switched to the unit of flux/mag per electron
* Minor bug fixes:
* Fixed a bug that caused some standard star names are never matched
* Removed some unused package import in ondespec.py
* `ImageReduction()` is checking if `verbose` is supplied as a boolean at initialisation.
* Fixed a few typos when exporting FITS files with `spectrum1D`.
* Fixed typo relating to logging of the setting of airmass.
* Fixed a bug in sorting peaks by prominence
* Exporting FITS and CSV will check if data exist to avoid outputting empty files.
* Header information should be grabbed when data are manually provided.
* `TwoDSpec()` allows saving `weight_map` and `arc_spec`.
* (API) changes:
* get_telluric_correction() to get_telluric_strength() as the function only get the multiplication factor to the template telluric absorption profile.
* `lowess_frac` is used throughout the woftware to denote the `frac` argument for the `lowess()` function.
* spectrum1D is now spectrumOneD to avoid confusion with Astropy Specutil spectrum1D
* `arc_spec` output is split into `arc_spec` and `arc_lines` where the former is an output from `TwoDSpec` and the latter is an output from `OneDSpec`.
* Other changes:
* Small change in the Horne86 optimal extraction function, it should have become more efficient.
* Improved stability in computing the spectral width when using Horne86+Gaussian.
* `count`, `count_err`, `count_sky` are strictly in unit of electron count.
* Sensitivity function in FluxCalibration remains in the unit of flux/mag per electron, however, because `count` is no longer in the unit of electron per second, the exposure time is needed when applying the sensitivity function.
* `get_continuum` is now checking input array/list size and throw error if they don't match.
* OneDSpec and spectrum1D expanded to accommodate wavelength_resampled
* spectrum1D exapanded to handle atmospheric extinction corrected spectrum as an independent data list
* Use SpectResC instead of SpectRes in spectral resampling.
* Cosmic Ray rejection is defaulted to off in both ImageReduction and TwoDSpec.
* Rectification is now performed with `SpectResC` instead of `scipy.ndimage.zoom` which provides a reasonable performance gain.