Species

Latest version: v0.9.0

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

Scan your dependencies

Page 2 of 7

0.7.4

- Added the `contrast_to_mass` method to `ReadIsochrone` for converting contrast values for a given filter into masses
- Support for clear and cloudy model spectra of the petitCODE grid that is used for the isochrones from Linder et al. (2019)
- Possibility to include only photometric fluxes when comparing a grid of model spectra with `CompareSpectra`

0.7.3

- Removed deprecated `update_spectra` function
- Some minor maintenance of `util` and `plot` functions
- Updated notebook tutorials

0.7.2

- Updated the type annotations so they are compatible with Python 3.11
- Tested the notebook tutorials and fixed several small issues due to code changes

0.7.1

- SPHINX model spectra: `add_model('sphinx')`
- BEX isochrones from Linder et al. (2019): `add_isochrones('linder2019')`
- Keck NIRC Y-band filter: `add_filter('Keck/NIRC.Y')`

0.7.0

- Added support for Python 3.11 and dropped support for Python 3.8
- Added a check in `ReadColorMagnitude` for selecting an incorrect filter name that is not part of a photometric library
- Retrieving free abundances that vary with altitude using `AtmosphericRetrieval`
- Included `FitEvolution` for estimating ages and masses from luminosities
- Changed use of `interp2d` to `RegularGridInterpolator`
- Optimization in `CompareSpectra` so it runs faster
- Added `plot_abundances` function to `plot_retrieval` module
- Added the `res_mode` and `lbl_opacity_sampling` parameters to `AtmosphericRetrieval`
- Changed `lbl_species` parameter of `AtmosphericRetrieval` to `ccf_species`
- Added `lbl_opacity_sampling` parameter to `ReadRadtrans`
- Generalized the implementation of the `mean_molecular_weight` function
- Changed photometric uncertainty inflation in `FitModel` to relative to the uncertainties instead of relative to the flux
- Changed `weights` parameter in `FitModel` to `apply_weights` and improved its functionality
- Added `convert_units_plot` function to `plot_util`
- Capital sensitive unit conversion with `convert_units` function
- Added `inc_abund` parameter to `plot_posterior`
- Added `units` parameter to `add_object`
- Added `extra_param` parameter to `plot_grid_statistic`
- Added `plot_model_spectra` to `plot_comparison` module
- Maintenance of `plot_comparison` functions
- Updated dependency versions, documentation, and docstrings
- A lot of small improvements and maintenance!

0.6.0

- The calibration spectrum of Vega has been updated to the latest version from STScI CALSPEC
- Added `vega_mag` parameter to the configuration file
- Refactored the `data.vega` module
- Added optional `zero_point` parameter to `SyntheticPhotometry`
- The `zp_flux` parameter of `magnitude_to_flux` is set to deprecated
- Improved `CompareSpectra` functionalities
- Added `add_custom_model` to `Database` for adding manual grid
- Support for fitting vsin(i) and RV parameters with `FitModel`
- Refactored the `ReadIsochrone` class
- Added `get_photometry ` and `get_spectrum` methods to `ReadIsochrone`
- Support for non-self-consistent coupling with atmospheric models in `ReadIsochrone`
- Added `extra_param` parameter to several methods of `ReadIsochrone`
- Using `pooch` for downloading grids of model spectra
- Support for using ATMO isochrones and grids of model spectra
- Added `ext_filter` parameter to `FitModel` and `convert_to_av` function to `dust_util`
- Remove NaN fluxes when calculating synthetic photometry from spectrum
- Check for NaNs when sampling the uncertainty on a synthetic flux
- Improved use of `field_range` parameter in `plot_color_color` and `plot_color_magnitude`
- Additional attributes in `SynphotBox`
- All plot functions return the `Figure` object such that manual adjustments are possible
- Added `radius` attribute to `IsochroneBox` and `CoolingBox`
- Added `return_box` parameter to `get_flux` and `get_magnitude` in `ReadModel`
- Multiple smaller improvements and bug fixes
- Updated documentation, tutorials, and docstrings
- Overall maintenance and code style improvements

Page 2 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.