osl_dynamics#

Attributes#

Functions#

run_pipeline(config, output_dir[, restrict, data, ...])

Run a full pipeline.

Package Contents#

osl_dynamics.run_pipeline(config, output_dir, restrict=None, data=None, extra_funcs=None)[source]#

Run a full pipeline.

Parameters:
  • config (str or dict) – Path to yaml file, str to convert to dict, or dict containing the config.

  • output_dir (str) – Path to output directory.

  • restrict (int or str, optional) – GPU to use. If a str is passed it will be cast to an int.

  • data (osl_dynamics.data.Data, optional) – Data object.

  • extra_funcs (list of functions, optional) – User-defined functions referenced in the config.

Return type:

None

osl_dynamics.logger[source]#