Adds fit_templates_fast method and documentation that finds maximum likelihood estimates for SFH coefficients similarly to fit_templates but utilizes a sqrt transform rather than a log transform for improved convergence speed and does not return a maximum a posteriori result like fit_templates does. This method is meant to be used in hierarchical models. For an example test, this method took 2 ms with keyword argument g_abstol=1e-3 compared to ~7.5 ms for the existing fit_templates method.
Adds
fit_templates_fast
method and documentation that finds maximum likelihood estimates for SFH coefficients similarly tofit_templates
but utilizes a sqrt transform rather than a log transform for improved convergence speed and does not return a maximum a posteriori result likefit_templates
does. This method is meant to be used in hierarchical models. For an example test, this method took 2 ms with keyword argumentg_abstol=1e-3
compared to ~7.5 ms for the existingfit_templates
method.