Added support for fitting extinction parameters based on a power-law size-distribution of silicate grains. The cross-sections are interpolated from a pre-calculated grid with the maximum grain size (powerlaw_max), the power-law exponent (powerlaw_exp), and the V band extinction (powerlaw_ext) as free parameters. The minimum grain size is fixed to 1 nm since the results are not sensitive to the minimum grain size as long as it is much smaller than the wavelength.
The extinction parameters for the log-normal size distribution have been changed from dust_ to lognorm_ without backward compatibility.
The add_dust method of Database downloads and adds the pre-calculated cross sections.
ReadModel, plot_extinction, plot_size_distributions, and plot_util have been updated. The apply_lognorm_ext method was added to ReadModel and apply_size_dist_ext was renamed to apply_lognorm_ext.
Refactoring of the functions in dust_util and the power_law_distribution and interp_powerlaw functions were added.
Added support for fitting extinction parameters based on a power-law size-distribution of silicate grains. The cross-sections are interpolated from a pre-calculated grid with the maximum grain size (
powerlaw_max
), the power-law exponent (powerlaw_exp
), and the V band extinction (powerlaw_ext
) as free parameters. The minimum grain size is fixed to 1 nm since the results are not sensitive to the minimum grain size as long as it is much smaller than the wavelength.The extinction parameters for the log-normal size distribution have been changed from
dust_
tolognorm_
without backward compatibility.The
add_dust
method ofDatabase
downloads and adds the pre-calculated cross sections.ReadModel
,plot_extinction
,plot_size_distributions
, andplot_util
have been updated. Theapply_lognorm_ext
method was added toReadModel
andapply_size_dist_ext
was renamed toapply_lognorm_ext
.Refactoring of the functions in
dust_util
and thepower_law_distribution
andinterp_powerlaw
functions were added.