Species

Latest version: v0.8.3

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

Scan your dependencies

Page 5 of 7

0.2.2

- Support for Exo-REM model spectra in `add_model`, `FitModel`, and `ReadModel`.
- Storing the spectral resolution of each spectrum from an object.
- `FitModel` uses the spectral resolution to smooth the model spectra with a Gaussian.
- Fast convolution with `smooth_spectrum` when the wavelength sampling ha a uniform spectral resolution.
- Added the `absolute_to_apparent` function to convert absolute to apparent magnitudes.
- Added the `update_spectra` function for updating the spectra of an object with a best-fit scaling and/or error inflation.
- Optional scaling parameter in `FitModel` that can be fitted for each spectrum.
- Added `teff_labels` parameter in `plot_color_magnitude`.
- Added `get_magnitude` and `get_color_magnitude` in `ReadPlanck`.
- Compatibility of `plot_color_magnitude` with color-magnitudes from `ReadPlanck`.
- Factor 4 bug fix in the flux from `ReadPlanck`.
- Legend `**kwargs` in `plot_spectrum`.
- Several minor bug fixes and improvements.
- Updated documentation.

0.2.1

- Faster runtime of `FitModel` by resampling the wavelengths only once prior to the sampling.
- Added the `interpolate_grid` function in `FitModel`.
- Refactoring of several `ReadModel` functions to make them independent of the model name.
- Additional keyword arguments in `add_model` to restrict the wavelength and temperature range of petitCODE and DRIFT-PHOENIX spectra.
- Updated tutorials and documentation.

0.2.0

- Updated tutorials and documentation.
- Improved plotting functionalities.
- Error propagation for synthetic fluxes and magnitudes.
- Minor maintenance, additional warnings and errors.

0.1.4

- The `spectrum` argument of `add_object` is changed to a dictionary which can contain multiple spectra and optionally their covariance matrix.
- Compatibility of `FitModel` and `FitPlanck` with multiple spectra and optionally the use of covariance matrices in the MCMC sampling.
- Possibility to use a combination of multiple temperatures and radii in `FitPlanck`.
- `delete_data` function for removing a dataset from the database.
- Additional functionalities in `plot_color`.
- All spectral resampling is done with `spectres`. This is slower than before but more accurate.
- `wavel_resample` parameter in `get_model` to resample to an input wavelength grid.
- Data is stored in the database as `float64` instead of `float32`.
- Changed the BT-Settl spectra from CIFIST2011 to CIFIST2011c.
- Additional errors and warnings.
- Major maintenance, small improvements, and several bug fixes.

0.1.3

- Replaced `wget` with `urllib.request`.
- Warnings and errors added to `add_model`.
- Compatibility of `get_data` with the petitCODE spectra.
- Several small updates in the code and tutorials.

0.1.2

- Updated tutorial notebooks.
- Several minor changes and improvements
- ``ReadColorMagnitude`` and ``get_color_magnitude`` are compatible with photometric and spectral libraries.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.