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

Script to calculate stats, write to file #3506

Merged
merged 2 commits into from
Oct 18, 2020
Merged

Conversation

cdcapano
Copy link
Contributor

Adds a script that will load samples from a file, recalculate the likelihood and prior for each point, then write it back out to a new file, along with any additional auxiliary statistics (e.g., SNR in each detector, max likelihood phase) that the model saves. Mostly useful for the nested samplers and emcee_pt/ptemcee, which do not store blob data, but can also be used to recalculate likelihood for a different model.

Depends on #3505.

@cdcapano
Copy link
Contributor Author

Rebased now that #3505 is merged. This is ready for review now.

@ahnitz ahnitz merged commit ee59ea0 into gwastro:master Oct 18, 2020
@cdcapano cdcapano deleted the infauxstats branch October 18, 2020 13:32
ArthurTolley pushed a commit to ArthurTolley/pycbc that referenced this pull request Nov 14, 2022
* add script to calculate model stats

* modify help message
OliverEdy pushed a commit to OliverEdy/pycbc that referenced this pull request Apr 3, 2023
* add script to calculate model stats

* modify help message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants