km3pipe.core¶
The core of the KM3Pipe framework.
Module Contents¶
Classes¶
ServiceManager() |
Main service manager |
Pipeline(blob=None, timeit=False, configfile=None, anybar=False) |
The holy pipeline which holds everything together. |
Module(name=None, **parameters) |
The module which can be attached to the pipeline |
Pump(*args, **kwargs) |
The pump with basic file or socket handling. |
Blob(*args, **kwargs) |
A simple (ordered) dict with a fancy name. This should hold the data. |
Run(**tables) |
A simple container for event info, hits, tracks and calibration. |
-
class
km3pipe.core.ServiceManager[source]¶ Bases:
objectMain service manager
-
class
km3pipe.core.Pipeline(blob=None, timeit=False, configfile=None, anybar=False)[source]¶ Bases:
objectThe holy pipeline which holds everything together.
If initialised with timeit=True, all modules will be monitored, otherwise only the overall statistics and modules with timeit=True will be shown.
Parameters: - timeit: bool, optional [default=False]
Display time profiling statistics for the pipeline?
- configfile: str, optional
Path to a configuration file (TOML format) which contains parameters for attached modules.
-
class
km3pipe.core.Module(name=None, **parameters)[source]¶ Bases:
objectThe module which can be attached to the pipeline
-
class
km3pipe.core.Pump(*args, **kwargs)[source]¶ Bases:
km3pipe.core.ModuleThe pump with basic file or socket handling.