dgahle / baysar

Spectroscopy inference tool to analyse atomic line emission from plasmas
MIT License
3 stars 0 forks source link

Hamlitonian Sampling for Balmer Lines #22

Open dgahle opened 1 year ago

dgahle commented 1 year ago

Update BaySAR to be compatible with inference.mcmc.HamiltonianChain to resolve the effective sample size in demo/balmer_series.py` flatlining at about 7.

Useful links:

Task list

dgahle commented 1 year ago

It's likely that each function that needs to be differentiated will need to be a class that can store all the dependent/nested function gradient methods can be accessed for.

Or cache the gradients of some of the lowest level functions like emission, temperature, and density profiles.