Clone wiki

cosmosis / scripting

Scripting CosmoSIS

You can import CosmoSIS into python and use it as a library as well as just from the command line. This lets you access the samplers and pipelines to use in different ways.

You can find examples of how to do this in the files:

# These are in the "develop" branch only
examples/scripting-pipelines.py
examples/scripting-samplers.py

Updated