direct_neural_biasing/lib.rs
1//! Direct Neural Biasing is a rust package for the real time, closed-loop stimulation of neurons.
2//!
3//! It is being developed by the Human Electrophysiology lab at UCL.
4//!
5//! It is currently in development.
6//!
7//! It's primarily written in Rust, but has bindings for Python and (soon) C++, to interface with Blackrock Microsystems devices for lab use.
8
9/// - Local is a test module for Rust users, to debug the processing module.
10// #[cfg(not(feature = "python-extension"))]
11pub mod local;
12
13/// - Main rust source code. Contains code for the signal processor, which itself is split up into filters, detectors, and triggers (for now).
14pub mod processing;
15
16/// - Tests contains some tests for the Blackrock C++ bindings.
17// #[cfg(not(feature = "python-extension"))]
18pub mod tests;
19
20/// - Utility functions, such as reading and writing files.
21pub mod utils;
22
23/// - Bindings for Python and C++ (wip).
24pub mod bindings;
25
26/// - Configuration system for YAML-based settings
27pub mod config;
28
29// Add this to your lib.rs file
30#[cfg(feature = "cpp")]
31pub use bindings::cpp::*;