minaskar / zeus

⚡️ zeus: Lightning Fast MCMC ⚡️
https://zeus-mcmc.readthedocs.io/
GNU General Public License v3.0
225 stars 34 forks source link

Basic implementation of blobs saving feature in SaveProgressCallback #26

Closed s-ilic closed 1 year ago

s-ilic commented 2 years ago

Hi all,

I added a simple feature in SaveProgressCallback so that blobs are also saved (as a structured numpy array) alongside the chain samples and loglike values inside the (optional) output HDF5 file -- similarly to what emcee does in its HDFBackend routine.

Comments and modifications are welcome!