Open dgahle opened 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.
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
gradient
class methoddemo/balmer_series.py
with theHamiltonianChain