Improved error inflation, new log-normal cross sections, and some minor things #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 abound
value between 0 and 1. Bothrun_multinest
andrun_mcmc
have been updated.model
parameter has been added toupdate_spectra
since the error inflation requires calculating the model spectrum.FitModel
since the calibration and extinction parameters were not fixed.deredden
parameter inadd_object
can also be a float (instead of dictionary), in which case the same dereddening is applied to all input data.disk_teff
anddisk_radius
parameters are included in the luminosity calculation ofplot_posterior
.plot_size_distributions
function has been updated accordingly. The new cross sections are downloaded and added to theDatabase
withadd_dust
.