Initialise Module

initialise.initialise(custom_command='')[source]

Initialisation routine

This function recovers the input from the command line arguments, from parser_mp, the parameter files.

It then extracts the path of the used Monte Python code, and proceeds to initialise a data instance, a cosmological code instance.

Parameters:custom_command (str) – allows for testing the code
initialise.recover_cosmological_module(data)[source]

From the cosmological module name, initialise the proper Boltzmann code

Note

Only CLASS is currently wrapped, but a python wrapper of CosmoMC should enter here.

initialise.recover_local_path(command_line)[source]

Read the configuration file, filling a dictionary

Returns:path (dict) – contains the absolute path to the location of the code, the data, the cosmological code, and potential likelihood codes (clik for Planck, etc)