Skip to main content

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

Project description

Nervous Sensors

This project aims at implementing drivers in python to handle connection to physiological sensors ECG and EDA developed at the Lyon Institute of Nanotechnology (INL). Those Bluetooth Low Energy sensors developed in the frame of ANR project RENFORCE (grant ANR-22-CE38-0008). Sensors data can be plotted in real-time on a local webserver or saved in a .csv file. It also implements an LSL interface to PLUME Unity plugin to collect data within a virtual environment for synchronous recording as well as real-time feedback to the user.

Installation

[!NOTE] Requires python version 3.11 or 3.12

pip install nervous-sensors

CLI

Usage: nervous [OPTIONS]

Options:
  -s, --sensors TEXT      "ECG XXXX","EDA XXXX",... : specify a list of
                          sensors name to connect to. Replace XXXX with the
                          serial number.
  -g, --gui               Show real-time data graph in web browser.
                          Get the URL of the webserver in the output console
                          when the script is launched.
  -f, --folder PATH       Save CSV data files in folder.
                          WARNING: The folder must exist as it won't be created.
  -l, --lsl               Send sensor data on LSL outlets.
  -p, --parallel INTEGER  Number of parallel connection tentatives authorized.
                          This is optional and should not be set.
  --help                  Show this message and exit.

Example

nervous -g -f ./data/csv/ -l -s "ECG 6543","EDA 7201"

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.1.2.tar.gz (13.2 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.1.2-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nervous_sensors-0.1.2.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for nervous_sensors-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d7e9be28f1ad7b4d572ed6f09a497acdb5c48c217666ce6d8d1ce193c39afe8b
MD5 000e5b6fbe120b60dddb2d1cf122fbe4
BLAKE2b-256 deef54fa042ec40cc930ffe9c501ecd2e6be24d4ffe129e99ed5ff96572d0271

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nervous_sensors-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for nervous_sensors-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d420778d04550062fcc247a1bf99ae0453c9f8c5b7aad557984e300a0570346
MD5 db8ec923a82806b8250ff9a7a507b1a9
BLAKE2b-256 73b4ce62703f7dc6886fee46ddbaf5138332f96e1973abaa7fa85febf2d4a04a

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