Species

Latest version: v0.9.0

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

Scan your dependencies

Page 5 of 7

0.3.1

- The spectra of AMES-Cond, AMES-Dusty, DRIFT-PHOENIX, BT-Settl, and BT-NextGen have been resampled to a spectral resolution of R=2000 and moved to a new download location (https://people.phys.ethz.ch/~ipa/tstolker/). The data size of these grids are typically several hundred MBs so downloading and processing is much faster now.
- Support for photon-counting detectors when calculating synthetic photometry. The detector type is stored as attribute with the filter profile.
- Extinction parameters have been added to `FitModel`: ISM extinction, a power-law size distribution of silicate grains, or a log-normal size distribution of silicate grains (see documentation for details).
- Functions in `plot_mcmc` for plotting the sampled extinction and size distributions: `plot_extinction` and `plot_size_distributions`.
- Refactoring of `dust_util`.
- Bug fix when fixing missing grid points with `add_model`.
- Support for the BT-Settl CIFIST spectra (`'bt-settl-cifist'`).
- Additional unit tests and updated documentation.
- Several minor improvements, bug fixes, new features, and maintenance.

0.3.0

- Nested sampling support by `FitModel` with `run_multinest`.
- Fitting blackbody spectra has been merged in `FitModel` and `FitPlanck` has been deprecated
- Support of `FitModel` for fitting calibration parameters, including a Gaussian process for correlated noise.
- Support for duplicate filter names.
- The `inc_phot` and `inc_spec` parameters allow for subsets of data.
- Added optical constants and a `reddening` parameter in `plot_color_magnitude` and `plot_color_color`.
- Added the `inc_luminosity` parameter in `plot_posterior.
- Improved and faster use of parallaxes.
- Type checks added to some of the classes and methods.
- Compatibility of `add_object` with the GRAVITY FITS format.
- Several new features for fine-tuning of plots, including the `plot_kwargs` parameter in `plot_spectrum`.
- Many small improvements and a few bug fixes.

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.

Page 5 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.