Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-computing bma.pkl without fitting #56

Open
jpdeleon opened this issue Feb 15, 2024 · 1 comment
Open

re-computing bma.pkl without fitting #56

jpdeleon opened this issue Feb 15, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jpdeleon
Copy link

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)

self.fit_dynesty(out_file=out_file)

@jvines jvines self-assigned this Feb 20, 2024
@jvines
Copy link
Owner

jvines commented Feb 20, 2024

Huh, this is an interesting use case I hadn't thought of. I'll work on it

@jvines jvines added the enhancement New feature or request label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants