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.1.tar.gz (24.6 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.1-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nervous_sensors-0.2.1.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Linux/6.11.0-1014-azure

File hashes

Hashes for nervous_sensors-0.2.1.tar.gz
Algorithm Hash digest
SHA256 75f76bd42767dac2fd19b56f62e78e90d941da45bb0bcb02ae846efbf5302983
MD5 dc1f65d3af30ad3f35204a3df6234fa3
BLAKE2b-256 7dbfb35015918256e33f55ad7f43ab608e9bd8a8ef20c9a0ab87260b094bc408

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nervous_sensors-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee555a98d4f6d8cffb32b4ea34d6646a21ca0d720f8177e76ec1cbbcee72dcea
MD5 9f9bbdf3bb77b83d608741199ff76edb
BLAKE2b-256 81f2c20e8d046fcf73fd732b2e110e02753d5be267bb73db5e0bab32784e2c48

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