Skip to main content

Python library for easy managing and processing of large Long-Term Biosignals.

Project description

IT - Long Term Biosignals Framework

Test Biosignals Package

Test Biosignals Package Test Processing Package Features Machine Learning Decision Pipeline Integration Tests

Description

Python library for easy managing and processing of large Long-Term Biosignals. This repository is object of evaluation of some Master's and Doctoral's theses.

Contribute!

  • 🪲 Report bugs here.
  • 💡 Suggest features here.
  • 💬 Community Q&A here.

Informal Documentation

📑 Acess to the Wiki.

Full reference documentarion comming soon.

Getting Started

Installing the Package

This framework was developed and tested on Python 3.10.4, so make sure you have an interperter >= 3.10.4.

If you are familired with pip, you can download and install the package by running:

pip install LongTermBiosignals

If not, you may download the latest stable GitHub release here and place a copy of the ltbio directory (which is inside src) on your project's root.

Dependencies

See Python dependencies in requirements.txt.

You may consider installing the following on your machine if needed:

  • graphviz to plot Pipeline diagrams (sudo apt-get install graphviz or brew install graphviz)
  • h5py to read HDF5 files if running on an Apple Sillicon machine (brew install hdf5 && export HDF5_DIR=/opt/homebrew/bin/brew/Cellar/hdf5/<version>)

Simple Use Case

Let's create a sequence of samples using Timeseries:

from ltbio.biosignals import Timeseries

ts = Timeseries([1, 2, 3, 4, 5], initial_datetime = datetime.datetime.now(), sampling_frequency = 360.0)

Add let's pretend this was a 1-lead ECG 🫀:

from ltbio.biosignals.modalities import ECG
 
my_ecg = ECG({'Left': ts})

Simple, right? There's loads of more stuff to customize like sources, body locations, physical units, events, etc. Explore it in this notebook 📓 and in the Wiki.


Copyright Notice

There is no license for the content of this repository.

2022, All rights reserved. This means content of this repository cannot be reproduced nor distributed, and no work can be derived from this work without explicit and written permission from the authors.

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

LongTermBiosignals-2.0.2.tar.gz (121.6 kB view details)

Uploaded Source

Built Distribution

LongTermBiosignals-2.0.2-py3-none-any.whl (162.6 kB view details)

Uploaded Python 3

File details

Details for the file LongTermBiosignals-2.0.2.tar.gz.

File metadata

  • Download URL: LongTermBiosignals-2.0.2.tar.gz
  • Upload date:
  • Size: 121.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.4

File hashes

Hashes for LongTermBiosignals-2.0.2.tar.gz
Algorithm Hash digest
SHA256 1a29a313805574ace09ecb5249e54fbfe0b2cb7d58467c17bfffd88bf61c2a3a
MD5 ae4f200dd121a4ca1b6fd92f359566fa
BLAKE2b-256 676d15ff44baa0538e2c9c4e8a278033bdd587174d7df9a9dcd6dd0b54242d39

See more details on using hashes here.

File details

Details for the file LongTermBiosignals-2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for LongTermBiosignals-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 38f11987ca641583d137c14dcf2d5374417fc3533e734fb6e84697b50f9971b5
MD5 593d0d94cfbf6ffea96788ea15298510
BLAKE2b-256 2c5cc18372a13f1f422cfc09bd76e26543a3422b4d319d8d56d50be64bfee3f4

See more details on using hashes here.

Supported by

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