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

Nested sampling with MultiNest #379

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

tomasstolker
Copy link
Contributor

This PR adds the MultiNest class to the sampler module. MultiNest supports the use of MPI, so it can be executed as e.g. mpirun -n 100 python run_orbitize.py if 100 CPUs are available.

Also made some minor modifications in NestedSampler that uses Dynesty. I added the nlive parameter, which is used by the static sampler. I removed a ValueError, which seemed not needed since pfrac is not used when static=True.

The unit tests do not actually call run_sampler, since MultiNest needs to be manually installed.

Let me know if you have any comments/feedback!

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

Successfully merging this pull request may close these issues.

1 participant