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. Other accepted format are ECGXXXX,
                          ECG_XXXX or ECG-XXXX (quotes are unnecessary for those
                          formats).
  -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.1.tar.gz (13.3 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.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nervous_sensors-0.1.1.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure

File hashes

Hashes for nervous_sensors-0.1.1.tar.gz
Algorithm Hash digest
SHA256 53d5d2c86198236b104e589604802cc11f21012ee5a5a84b7670814305919594
MD5 d6c013c44dd52d7fa9cf19c0febe7fc3
BLAKE2b-256 1eb989421c42005351ebff68c09dc65c5b9e3bd06301ee8b07134d405709a030

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nervous_sensors-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67b2ae8ad7701456e71d0c2be754be2d2df532b0cb077d4f9d54041c5a944d8e
MD5 7eb19a2ea8052f7723c654114c264c63
BLAKE2b-256 00f320c097613b75613999557cc82afd0c5774982d1de85618ead36d2a1219cc

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