Aspired

Latest version: v0.5.1

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.1

-----------------

:Date 24-7-2022

* Minor bug fixes:

* Fixed a bug that mixed up the filenames and the designations of standard stars.
* Fixed a bug that stops ImageReducer recognising compressed FITS file as a valid format.

0.5.0

-----------------

: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.

0.4.9

-------------

:Date 11-2-2023

* Minor bug fixes

* Fixed a upper/lowercase bug in loading standard stars
* Fixed `OneDSpec` CSV export issue with `weigth_map` and `arc_spec`

* Other changes

* Adopted astropy models for fitting gaussian functions
* `TwoDSpec` can now export CSV
* `spectres_numba` is supported
* require plotly!=5.12.0
* capped `rascal` minor version number
* Atempting to auto-publish to conda

0.4.8

-------------

:Date 1-12-2022

(Duplicate)

0.4.7

-------------

:Date 1-12-2022

Last release of the v0.4series unless there are blocking bugs.

* Major bug fixes

* Fixed a rounding-like error wwhen finding trace.
* Fixed a bug leading to wrong background estimation when finding trace.
* Calibrator is initialised defaulting to plotting with plotly

* Minor bug fixes

* `onedspec.get_telluric_correction()` was using a wrong index for standard
* `get_continuum()` is not propagating the keyword argument lowess_frac properly

* Other changes

* source code is moved to the folder `src`
* Slight tidy-up of header EXTNAME and LABEL.

0.4.6

-------------

:Date 26-July-2022

* Minor bug fixes

* Fixed a bug leading to failing in re-creating FITS file in the background when it should.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.