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

Improved error inflation, new log-normal cross sections, and some minor things #34

Merged
merged 2 commits into from
Dec 16, 2020

Conversation

tomasstolker
Copy link
Owner

  • Improved approach for fitting the error inflation of spectra in FitModel. Instead of fitting a constant, the free parameter is a scaling relative to the model fluxes (see Piette & Madhusudhan 2020). The use of the error inflation parameter has not changed but in this case typically requires a bound value between 0 and 1. Both run_multinest and run_mcmc have been updated.
  • The optional model parameter has been added to update_spectra since the error inflation requires calculating the model spectrum.
  • Bug fix with the use of fixed parameters in FitModel since the calibration and extinction parameters were not fixed.
  • The deredden parameter in add_object can also be a float (instead of dictionary), in which case the same dereddening is applied to all input data.
  • When fitting an atmosphere + disk, the disk_teff and disk_radius parameters are included in the luminosity calculation of plot_posterior.
  • A new grid of dust cross sections with a log-normal distribution has been calculated with a small improvement in the sampling of the distribution and in this case also ignoring grains smaller than 1 nm. The plot_size_distributions function has been updated accordingly. The new cross sections are downloaded and added to the Database with add_dust.
  • Updated README, documentation, and code comments.

Tomas Stolker added 2 commits December 16, 2020 11:55
…ct, include disk parameters in luminosity of plot_posterior, ignore grains smaller than 1 nm with log-normal distribution, compatibility of update_spectra with new error inflation
@tomasstolker tomasstolker merged commit 1974ebe into master Dec 16, 2020
@tomasstolker tomasstolker deleted the error_inflation branch December 16, 2020 12:06
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