StarFormationHistories v0.2.0
Breaking changes
- This version transitions from separate fitting functions for different AMRs (e.g.,
fit_templates_mdf
andfit_templates_logamr
) to a single fitting functionfit_sfh
whose behavior is determined by arguments that set the metallicity evolution and dispersion models to use. This design enables more flexibility with respect to the types of AMR and MZR models that can be used. The HMC sampling routines have likewise been transitioned to a singlesample_sfh
function. For now the old methods are still included but will be deprecated in the future. The example notebook atexamples/fitting1.ipynb
has been updated to use these new interfaces.
Merged pull requests:
- Add method for arbitrary SFH to
construct_x0_mdf
(#48) (@cgarling) - Number-weighted
mdf_amr
(#49) (@cgarling) - Only fit free variables -- fix sampling methods (#54) (@cgarling)
- Refactor AMR code to use new generic interface (#56) (@cgarling)
- Implement mass-metallicity relations (#58) (@cgarling)
Closed issues: