The data-flow engine of NeuroPype.
The engine defines processing nodes arranged into a flow graph, which is implemented in the following modules:
neuropype.engine.node: Defines a processing node (
neuropype.engine.ports: Defines the input/output ports of a node (
neuropype.engine.graph: Defines a flow graph of processing nodes (
neuropype.engine.scheduler: Defines a scheduler that runs a graph's data flow (
The data structure that is exchanged between nodes (the
Packet) is defined in
the following modules:
neuropype.engine.packet: Defines that packet that represents data travelling between nodes
neuropype.engine.block: A multi-dim array/tensor with robust axis annotations (
neuropype.engine.axes: Various types of commonly used axis classes for use in the Block
neuropype.engine.stats: Definitions used in axes that involve statistics
neuropype.engine.constants: Constants used to tag/flag/describe data used in packets
Furthermore, the following additional modules are defined:
neuropype.engine.errors: Definitions of errors and warnings used throughout NeuroPype
neuropype.engine.helpers: Helpers for code using the NeuroPype Engine data structures
neuropype.engine.breakpoints: Functions where one can set breakpoints in debug mode
neuropype.engine.common: Miscellaneous low-level primitives commonly used across NeuroPype
Lastly, the main loop is implemented in the following module:
neuropype.engine.main: Definition of the Core Processing Engine (CPE) class
It is enough to import the engine packet to get access to all engine functionality (except for breakpoints which must be imported explicitly).
Many other utility functions are defined in various modules in neuropype.utilities
Definitions of various kinds of commonly used axis classes …
Blockdata structure …
Controls behavior of breakpoints and exceptions in Neuropype nodes in debug mode.
Miscellaneous low-level primitives that are commonly used across the CPE.
Constants that are used throughout the NeuroPype framework …
Definitions of error codes and warnings used in NeuroPype …
A data-flow graph of processing nodes in NeuroPype …
Useful helper functions for working with engine data structure …
Definition of Core Processing Engine (CPE) class.
Defines the base class for all processing nodes in NeuroPype …
Defines a data structure that holds the packets of data transmitted between processing nodes (
Functionality for declaring input/output data ports in NeuroPype …
Scheduling subsystem for executing data-flow graphs (patches) in NeuroPype.
Definitions for representing statistical distributions …