Species

Latest version: v0.9.0

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

Scan your dependencies

Page 4 of 7

0.4.0

- T/Y spectra from Morley et al. (2012)
- Libraries with empirical low-gravity spectra
- Companions spectra in `data.companions`
- Improvements in comparison tools for spectra
- Some additional parameters and minor functionalities
- Code maintenance and a few minor bug fixes
- Dropped support for Python 3.6 and added support for Python 3.9
- Changed CI from Travis to Github Actions

0.3.6

- Functionalities for the analysis of emission lines (see `EmissionLine` and the notebook tutorial).
- Update in `data.filters` to comply with the change on the SVO website regarding the detector type.
- The `wavel_resample` parameter was added to `Database.get_mcmc_spectra` and `ReadPlanck.get_spectrum`.
- The `phot_type` parameter was added to `Database.get_mcmc_photometry`.
- The `smooth_spectrum` and `resample_spectrum` methods were added to `ModelBox`.
- The `read_util.gaussian_spectrum` function was added.
- Stellar and companion properties were added to `data.companions`.
- Functionalities for comparing a spectrum with a grid of model spectra (see `CompareSpectra.compare_model`, `Database.get_compare_sample`, and `plot_grid_statistic`).
- Some refactoring in `ReadModel` for improved readability.
- A number of smaller improvements to the code and documentation.

0.3.5

- Support for nested sampling with `UltraNest`. The `run_ultranest` method is added in `FitModel`.
- Added the `spec_res` parameter in `ReadCalibration.resample_spectrum` to smooth a spectrum before resampling.
- Tools for empirical analysis. `CompareSpectra.spectral_type` can be used for determining the spectral type.
- The `plot_statistic` and `plot_empirical_spectra` functions can be used for plotting the results from `CompareSpectra`.
- Support for the SDSS spectra from Kesseli et al. (2017).
- Support for running `FitModel` with MPI. Requires the manual installation of `mpi4py`.
- Improved notebook tutorial for fitting data with model spectra.
- Some minor maintenance. Several warnings and errors added.

0.3.4

- Moved the remote storage location of the model grids.
- Reading `corr_len` and `corr_amp` parameters from `bounds` and use default values otherwise.
- Added `effective_width` method to `ReadFilter`.
- Updated README and Makefile.

0.3.3

- Compatibility with Python 3.8. The CI tests with Python 3.6, 3.7 and 3.8.
- Updated README, documentation and some minor maintenance.

0.3.2

- Support for fitting power-law spectra with `FitModel`.
- Support for fitting a blackbody disk component in `FitModel`.
- Support for ATMO, BT-Cond, and (now publically available) petitCODE hot grid spectra.
- Added the `inc_mass` parameter in `plot_posterior`.
- Improved `title_fmt` parameter in `plot_posterior`.
- Added the `flux_density` parameter in `add_object`.
- Support for ALMA fluxes.
- Renamed `plot_photometry` to `plot_mag_posterior`.
- Support of `get_mcmc_photometry` for calibration spectra.
- Improved sampling of the log-normal grain size distribution. The grid of cross sections has been recalculated.
- New error inflation approach. A scaling relative to the model fluxes is fitted instead of a constant value.
- A large number of smaller, new features and improvements.
- Some maintenance and updated dependencies.
- Updated tutorials, documentation and docstrings.
- Additional type hints and type checks.

Page 4 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.