Skip to content

Releases: tomasstolker/species

species v0.6.0

22 Jun 07:21
Compare
Choose a tag to compare
  • 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

species v0.5.5

03 Feb 11:58
Compare
Choose a tag to compare
  • Added the add_accretion method to Database 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 to plot_pt_profile and plot_spectrum
  • Added create_color_magnitude and create_color_color methods to ReadModel
  • Support in plot_color_magnitude and plot_color_color for output from ReadModel
  • 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 to plot_spectrum
  • Added get_condensation_curve function to retrieval_util
  • Updated documentation, docstrings, and tutorials
  • Minor maintenance and improvements to code style

species v0.5.4

29 Sep 10:50
Compare
Choose a tag to compare
  • Support for Saumon & Marley (2008), Baraffe et al. (2015), and NextGen isochrones
  • Added get_cooling_curve, get_filters, get_mass, and get_radius methods to ReadIsochrone
  • 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 to plot_spectrum
  • Added get_magnitude method to ReadRadtrans
  • Support for rad_vel and vsini parameters in ReadRadtrans
  • Added inc_log_mass parameter to plot_posterior
  • Notebook tutorial for ReadIsochrone
  • Minor maintenance and improvements to code and documentation

species v0.5.3

04 Aug 12:07
Compare
Choose a tag to compare
  • 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 to ReadModel for integrating the bolometric luminosity
  • The param_inc and object_type parameters are added to the plot_posterior function
  • Several enhancements for handling calibration spectra
  • Some code maintenance and improvements in the documentation and tutorials

species v0.5.2

25 Jun 11:50
Compare
Choose a tag to compare
  • Several enhancements with the isochrone functionalities
  • Support for Sonora Bobcat isochrones (add_isochrones('sonora'))
  • Use of the parallax parameter in addition to distance (e.g. in add_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. using emcee) method in FitModel, 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

11 Apr 09:19
Compare
Choose a tag to compare
  • Fixed issue with the prior of distance when using FitModel.run_ultranest
  • Enhancement with the integrated autocorrelation time that is calculated in Database.add_samples
  • The plot_filename parameters in EmissionLine can be set to None to show instead of save a plot
  • The default zorder is only added to the plot_kwargs dictionaries in plot_spectrum if not already included
  • Updated notebook tutorials
  • Style improvements and minor maintenance
  • Updated setup.py

species v0.5.0

06 Apr 14:46
Compare
Choose a tag to compare
  • Framework for free retrievals with petitRADTRANS in the AtmosphericRetrieval class
  • Notebook tutorials for free retrievals and reading companion data
  • Changed the co parameter to c_o_ratio
  • Added list_filters method to ReadObject
  • Support for fitting blended stars/companions with FitModel
  • Photometric error inflation per instrument
  • Added synthetic_photometry method to ModelBox
  • Possibility to show a plot instead of writing to a file
  • Refactoring of add_model
  • Support for Sonora model spectra
  • Added available_models to Database for details about the atmospheric models
  • Added reduced chi2 calculation to get_residuals
  • Added get_evidence method to Database
  • 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

29 Jul 13:02
Compare
Choose a tag to compare
  • 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

04 May 13:42
Compare
Choose a tag to compare
  • 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.

species v0.3.5

05 Mar 13:38
Compare
Choose a tag to compare
  • 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.