Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter estimation with nested sampling #6

Merged
merged 5 commits into from
Apr 9, 2020
Merged

Conversation

tomasstolker
Copy link
Owner

  • Updated dependencies in requirements.txt.
  • Added the run_multinest function in FitModel to use the nested sampling implementation of MultiNest for the parameter estimation. This can be in particular useful to sample multimodal distributions.
  • Some changes in add_samples to make it compatible with both the MCMC and nested sampling results.
  • Added errors in case the burnin of the MCMC samples is larger than the number of steps.
  • Changed the group name of the fit results from results/mcmc to results/fit.
  • Improved compatibility with the Exo-REM models, which are now resampled to a constant resolution of 1000 and available here:
    https://people.phys.ethz.ch/~ipa/tstolker/exorem.tgz
    Note that there is an issue with this set of spectra above ~1600 K because not all models properly converged.
  • The luminosity is added to a ModelBox if the Teff and radius are available.
  • Refactoring of sort_data to reduce its complexity.
  • Improvement with the interpolation of missing grid points in write_data when the model spectra are stored in the database. Previously, the missing spectra were interpolated from neighboring Teff points but this is now done with a linear, multidimensional interpolation with griddata from scipy.

@tomasstolker tomasstolker changed the title Parameter estimation with nested sampling and more Parameter estimation with nested sampling Apr 9, 2020
…3, 4, or 5 model parameters, updated unit tests because of changes in spectres
@tomasstolker tomasstolker merged commit 028d2db into master Apr 9, 2020
@tomasstolker tomasstolker deleted the model_spectra branch April 9, 2020 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant