dfm/emcee — pull request #93 by mtazzari (2014-01-14 14:03:45+00:00)
Title: Add clear_blobs() to ensemble.py

I am using the "blobs" functionality to store the results of my models during MCMC computation (I am fitting interferometric data of protoplanetary disks).
I have fixed a problem arising when the blobs have a large size (for example GB). Since my blobs are of several GB, I've found that emcee stores ALL the blobs of ALL the steps of the run, thus provoking an always increasing usage of RAM. For example, in my main script I have:
def lnprob:
…heavy calculations…
…chi square computation…
return dlnprob, blobs

while i