astroARIADNE
astroARIADNE copied to clipboard
re-computing bma.pkl without fitting
After running all the models, sometimes I want to exclude some models when re-plotting the posteriors using SEDPlotter
. Is it possible to simply load the grid pickle files and re-compute BMA.pkl given the new list of models and fit only when the *_out.pkl file does not exist or explicitly specified with an argument, say refit=True
?
if not Path(out_file).exists() or self.refit=True:
self.fit_dynesty(out_file=out_file)
https://github.com/jvines/astroARIADNE/blob/39ef9013533d270aeaea8d157a7b29e317713f3d/astroARIADNE/fitter.py#L572
Huh, this is an interesting use case I hadn't thought of. I'll work on it