Skip to main content

Python backend for connection to ECG and EDA sensors from the Lyon Institute of Nanotechnology (INL)

Project description

Nervous Sensors

PyPI version Python Versions Build Status License: MIT

Table of Contents


Project Overview

Nervous Sensors is a Python-based driver and data acquisition toolset for physiological sensors, specifically designed for Nervous ECG (Electrocardiography) and Nervous EDA (Electrodermal Activity) sensors developed in the frame of the Nervous Toolkit.

Key Features

  • 📱 Bluetooth Low Energy (BLE) sensor support
  • 📈 Real-time data visualization via local webserver
  • 💾 Flexible data storage (CSV export)
  • 📣 LSL (Lab Streaming Layer) integration for PLUME Unity plugin
  • 🔗 Multi-sensor connection capabilities

Prerequisites

  • Python 3.11, 3.12 or 3.13
  • Compatible Bluetooth Low Energy Nervous sensors

Installation

pip install nervous-sensors

Command-Line Interface (CLI)

Usage

nervous [OPTIONS]

Options

Option Description Example
-s, --sensors Specify sensors to connect (by serial number) "ECG 6543","EDA 7201"
-g, --gui Enable real-time data graph in web browser
-f, --folder Save CSV data files to specified folder ./data/csv/
-l, --lsl Send sensor data to LSL outlets
-p, --parallel Set number of parallel connection attempts

Example Command

# Connect to multiple sensors, enable GUI, save to CSV, and activate LSL
nervous -g -f ./data/csv/ -l -s "ECG 6543","EDA 7201"

Sensor Compatibility

  • Nervous ECG Sensors
  • Nervous EDA Sensors

Contributing

Contributions are what make the open-source community such a great place to learn, inspire, and create. Any contributions you make are greatly appreciated. You can open an issue to report a bug, request a feature, or submit a pull request.


License

This project, along with the entire Nervous initiative, is licensed under the MIT License. For more details, see the License file.


Acknowledgments

The main contributors to this project are Bertrand Massot, Tristan Habémont and Hugo Buy from INSA Lyon, CNRS, INL UMR 5270, Villeurbanne, France.

This work was supported by the French National Research Agency (ANR) under grant ANR-22-CE31-0023-03 RENFORCE.


Contact

bertrand.massot@insa-lyon.fr


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nervous_sensors-0.2.2.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nervous_sensors-0.2.2-py3-none-any.whl (44.0 kB view details)

Uploaded Python 3

File details

Details for the file nervous_sensors-0.2.2.tar.gz.

File metadata

  • Download URL: nervous_sensors-0.2.2.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.11.0-1015-azure

File hashes

Hashes for nervous_sensors-0.2.2.tar.gz
Algorithm Hash digest
SHA256 7b5d0c6873058f09651a68979517fad0c6c4c2cfdc065157437735d58d6cd92f
MD5 b0bb02da7297b3ce58dd9206a06ed0c5
BLAKE2b-256 4fd61812c1c3a8524936162746d46056842848cd77eb208c751fd78907754095

See more details on using hashes here.

File details

Details for the file nervous_sensors-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: nervous_sensors-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 44.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.11.0-1015-azure

File hashes

Hashes for nervous_sensors-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db1feac3af0cf92fed60def90f8c04c3b9d479a02b8d28cd4a882ceb97c06413
MD5 d36d93b7d166e557c573cb8cdceb1f0a
BLAKE2b-256 429d33b175ada8ccc4898758b2884d8c165efa6b70ef81c99e240f7d08d25cbc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page