Skip to content

Releases: tomasstolker/species

species v0.3.4

05 Jan 16:36
Compare
Choose a tag to compare
  • 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.

species v0.3.3

21 Dec 09:45
Compare
Choose a tag to compare
  • Compatibility with Python 3.8. The CI tests with Python 3.6, 3.7 and 3.8.
  • Updated README, documentation and some minor maintenance.

species v0.3.2

18 Dec 10:15
Compare
Choose a tag to compare
  • 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.

species v0.3.1

31 Jul 09:26
Compare
Choose a tag to compare
  • 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.

species v0.3.0

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

species v0.2.2

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

species v0.2.1

21 Feb 12:46
Compare
Choose a tag to compare
  • 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.

species v0.2.0

18 Feb 13:51
Compare
Choose a tag to compare
  • Updated tutorials and documentation.
  • Improved plotting functionalities.
  • Error propagation for synthetic fluxes and magnitudes.
  • Minor maintenance, additional warnings and errors.

species v0.1.4

12 Feb 13:29
Compare
Choose a tag to compare
  • 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.

species v0.1.3

30 Jan 11:51
Compare
Choose a tag to compare
  • Replaced wget with urllib.request.
  • Warnings and errors added to add_model.
  • Compatibility of get_data with the petitCODE spectra.
  • Several small updates in the code and tutorials.