eelbrain.load_pipeline
- eelbrain.load_pipeline(spec=None, root=None, log_level=None, **state)
Load a
Pipelinesubclass from a Python file.- Parameters:
spec (Path | str | None) – Path to a Python file that defines a
Pipelinesubclass, optionally followed by:ClassName.speccan also be a directory, in which casepipeline.pyis tried first and thenexperiment.py. Ifspecis omitted, the current working directory is searched. When only a file path is provided, the file must define exactly onePipelinesubclass.log_level (str | int) – Override
Pipeline.screen_log_levelfor the loaded pipeline.**state – Initial state parameters passed to the
Pipelineconstructor.
- Returns:
Instantiated
Pipeline.- Return type:
pipeline