eggplantbren / DNest4

Diffusive Nested Sampling
MIT License
60 stars 21 forks source link

Adding Python bindings #1

Closed dfm closed 8 years ago

dfm commented 8 years ago

Here are the Python bindings that I wrote for DNest4. These should probably still be considered experimental (isn't it all) because there are some edge cases that I haven't tested, I'm sure.

If you want the old analysis script, run:

from dnest4.deprecated import postprocess
postprocess()

But if you want to try the new ones, use

import dnest4
print(dnest4.postprocess(plot=True))