Calling from Python

This page provides some guidance on how Octofitter can be used from Python. Our general recomendation is to download Julia and copy-paste the examples as needed, but there may be cases where it useful to embed Octofitter within a larger Python project or pipeline.

In those cases, you might consider using octofitterpy. This python package uses juliacall.py to make some Octofitter functionality available in python.

Besides the model definition, most functions can be used the same in Python as in Julia. This notebook provides some examples translated into Python.

See the octofitterpy site for installation instructions.