cgarling / StarFormationHistories.jl

Fitting astrophysical star formation histories via CMD modelling.
MIT License
3 stars 0 forks source link

Tracking issue for new methods in `sampling_update` branch #18

Closed cgarling closed 4 months ago

cgarling commented 1 year ago

Initial implementation of MCMC sampling with free distance in fitting/mcmc_sampling_distance.jl looks good but does not yet have a convenience method like mcmc_sample, any documentation, or any tests. These will need to be added. Constructing the x0 for the walkers is a bit tricky so remember to explain that.

Probably we should start a new section in the documentation for alternative SFH implementations with extra parameters so we can keep these specialized methods separate from the main, simple implementations.

Next we are going to try MCMC + distance + fixed MDF. Might also want to do MCMC + distance + linear AMR model.

cgarling commented 1 year ago

The fixed_lamr.jl file now contains an implementation of a gradient-based SFH optimization for a fixed linear age-metallicity relation with static Gaussian width.

cgarling commented 8 months ago

Changing this to fixed_linear_amr.jl as we may also want to include a logarithmic AMR model, which would require differentiation.

cgarling commented 4 months ago

Not sure I want to make mcmc_sampling_distance.jl part of the official API. We can keep it in the package but have it be an unofficial usage.