FinalSpark-RS
FinalSpark-RS is a Rust library for live data recording from MEA (Microelectrode Array) devices. It enables real-time data acquisition and processing from MEA devices over a network connection.
Features
- Connects to an MEA server to retrieve live data.
- Supports both single-sample and multi-sample data recording.
- Uses
tokiofor asynchronous networking. - Parses and structures incoming data into a
LiveDataformat.
Installation
Add finalspark-rs to your Cargo.toml:
[]
= { = "https://github.com/maidenlabs/finalspark-rs.git" }
Or clone the repository and use it as a local dependency.
Usage
use LiveMEA;
use Runtime;
Recording Multiple Samples
use LiveMEA;
use Runtime;
Dependencies
This library relies on the following Rust crates:
tokio(for async networking)socket2(for low-level socket handling)serde&serde_json(for data serialization)chrono(for timestamping data)tokio-tungstenite(for WebSocket communication)
License
This project is licensed under the MIT License. See LICENSE for details.
Contributing
Contributions are welcome! Please submit an issue or pull request on GitHub.