Releases: tomasstolker/species
Releases · tomasstolker/species
species v0.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
toRegularGridInterpolator
- Optimization in
CompareSpectra
so it runs faster - Added
plot_abundances
function toplot_retrieval
module - Added the
res_mode
andlbl_opacity_sampling
parameters toAtmosphericRetrieval
- Changed
lbl_species
parameter ofAtmosphericRetrieval
toccf_species
- Added
lbl_opacity_sampling
parameter toReadRadtrans
- 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 inFitModel
toapply_weights
and improved its functionality - Added
convert_units_plot
function toplot_util
- Capital sensitive unit conversion with
convert_units
function - Added
inc_abund
parameter toplot_posterior
- Added
units
parameter toadd_object
- Added
extra_param
parameter toplot_grid_statistic
- Added
plot_model_spectra
toplot_comparison
module - Maintenance of
plot_comparison
functions - Updated dependency versions, documentation, and docstrings
- A lot of small improvements and maintenance!
species v0.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 toSyntheticPhotometry
- The
zp_flux
parameter ofmagnitude_to_flux
is set to deprecated - Improved
CompareSpectra
functionalities - Added
add_custom_model
toDatabase
for adding manual grid - Support for fitting vsin(i) and RV parameters with
FitModel
- Refactored the
ReadIsochrone
class - Added
get_photometry
andget_spectrum
methods toReadIsochrone
- Support for non-self-consistent coupling with atmospheric models in
ReadIsochrone
- Added
extra_param
parameter to several methods ofReadIsochrone
- Using
pooch
for downloading grids of model spectra - Support for using ATMO isochrones and grids of model spectra
- Added
ext_filter
parameter toFitModel
andconvert_to_av
function todust_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 inplot_color_color
andplot_color_magnitude
- Additional attributes in
SynphotBox
- All plot functions return the
Figure
object such that manual adjustments are possible - Added
radius
attribute toIsochroneBox
andCoolingBox
- Added
return_box
parameter toget_flux
andget_magnitude
inReadModel
- Multiple smaller improvements and bug fixes
- Updated documentation, tutorials, and docstrings
- Overall maintenance and code style improvements
species v0.5.5
- Added the
add_accretion
method toDatabase
for adding the accretion coefficients (see Aoyama et al. 2021), including the extrapolation from Marleau & Aoyama (2022). - Feature in
EmissionLine
for converting hydrogen line luminosities in accretion luminosities (see updated tutorial) - Support for the clear and cloudy model spectra from Saumon & Marley (2008), to be added with the tags
'saumon2008-clear'
and'saumon2008-cloudy'
- Support for the grid of model spectra from Petrus et al. (2023), to be added with the tag
'petrus2023'
- Safe extraction of TAR files (thanks to @TrellixVulnTeam)
- Added
envelope
parameter toplot_pt_profile
andplot_spectrum
- Added
create_color_magnitude
andcreate_color_color
methods toReadModel
- Support in
plot_color_magnitude
andplot_color_color
for output fromReadModel
- Refactored working with companion data and added the companion_data.json file to the repository (see updated tutorial)
- Started implementing
pooch
for downloading files - Added spectra of GQ Lup B to
companion_spectra
- Added
inc_model_name
parameter toplot_spectrum
- Added
get_condensation_curve
function toretrieval_util
- Updated documentation, docstrings, and tutorials
- Minor maintenance and improvements to code style
species v0.5.4
- Support for Saumon & Marley (2008), Baraffe et al. (2015), and NextGen isochrones
- Added
get_cooling_curve
,get_filters
,get_mass
, andget_radius
methods toReadIsochrone
- Ignore parameters in
ReadModel
that are not mandatory - Bug fix with reading the Sonora Bobcat evolutionary models
- Support for Mg2SiO4 cloud species in
AtmosphericRetrieval
- Added
grid_hspace
parameter toplot_spectrum
- Added
get_magnitude
method toReadRadtrans
- Support for
rad_vel
andvsini
parameters inReadRadtrans
- Added
inc_log_mass
parameter toplot_posterior
- Notebook tutorial for
ReadIsochrone
- Minor maintenance and improvements to code and documentation
species v0.5.3
- Support for BT-Dusty model spectra (
add_model('bt-dusty')
) - Support for BT-Settl isochrones (
add_isochrones('bt-settl')
) - The
integrate_spectrum
method is added toReadModel
for integrating the bolometric luminosity - The
param_inc
andobject_type
parameters are added to theplot_posterior
function - Several enhancements for handling calibration spectra
- Some code maintenance and improvements in the documentation and tutorials
species v0.5.2
- Several enhancements with the isochrone functionalities
- Support for Sonora Bobcat isochrones (
add_isochrones('sonora')
) - Use of the
parallax
parameter in addition todistance
(e.g. inadd_object
,add_companion
,SyntheticPhotometry
) - The analysis routines (e.g.
FitModel
,EmissionLine
,AtmosphericRetrieval
) use by default the parallax as free parameter with a Gaussian prior - Removed the
run_mcmc
(i.e. usingemcee
) method inFitModel
, because it was no longer maintained and it is recommended to use the nested sampling routines - Support for Koester white dwarf spectra (for calibration purpose)
- Options for retrieving parametrized cloud opacities with
AtmosphericRetrieval
- Included the
interp_method
parameter in the configuration file for setting the method for the grid interpolation - Improvements with the labels in various plots and the font style
- Many minor enhancements, maintenance, and updated tutorials and documentation
species v0.5.1
- Fixed issue with the prior of
distance
when usingFitModel.run_ultranest
- Enhancement with the integrated autocorrelation time that is calculated in
Database.add_samples
- The
plot_filename
parameters inEmissionLine
can be set toNone
to show instead of save a plot - The default
zorder
is only added to theplot_kwargs
dictionaries inplot_spectrum
if not already included - Updated notebook tutorials
- Style improvements and minor maintenance
- Updated
setup.py
species v0.5.0
- Framework for free retrievals with
petitRADTRANS
in theAtmosphericRetrieval
class - Notebook tutorials for free retrievals and reading companion data
- Changed the
co
parameter toc_o_ratio
- Added
list_filters
method toReadObject
- Support for fitting blended stars/companions with
FitModel
- Photometric error inflation per instrument
- Added
synthetic_photometry
method toModelBox
- Possibility to show a plot instead of writing to a file
- Refactoring of
add_model
- Support for Sonora model spectra
- Added
available_models
toDatabase
for details about the atmospheric models - Added reduced chi2 calculation to
get_residuals
- Added
get_evidence
method toDatabase
- Added support for Python 3.10 and removed support for Python 3.7
- Updated documentation, docstrings, and dependency versions
- Many small new features, enhancements, and bug fixes!
species v0.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
species v0.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 toDatabase.get_mcmc_spectra
andReadPlanck.get_spectrum
. - The
phot_type
parameter was added toDatabase.get_mcmc_photometry
. - The
smooth_spectrum
andresample_spectrum
methods were added toModelBox
. - 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
, andplot_grid_statistic
). - Some refactoring in
ReadModel
for improved readability. - A number of smaller improvements to the code and documentation.