DOI-USGS / geobipy

Geophysical Bayesian Inference in Python. Docs:
https://usgs.github.io/geobipy/
Other
78 stars 19 forks source link

Running geobipy from Python #17

Closed cultpenguin closed 5 years ago

cultpenguin commented 5 years ago

Hi Is there an example of howto run geobipy from within python, without the need to run it from the command line?

leonfoks commented 5 years ago

I don't actually!

But you should be able to do the following

from geobipy import singleCore
singleCore(<file to userParameter file>, <directory to write results to>)

singleCore is located in the uppermost init.py file.

leonfoks commented 5 years ago

@cultpenguin did this work? Can I close this?