Python library for easy managing and processing of large Long-Term Biosignals.
Project description
IT - Long Term Biosignals Framework
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!
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
orbrew 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a29a313805574ace09ecb5249e54fbfe0b2cb7d58467c17bfffd88bf61c2a3a |
|
MD5 | ae4f200dd121a4ca1b6fd92f359566fa |
|
BLAKE2b-256 | 676d15ff44baa0538e2c9c4e8a278033bdd587174d7df9a9dcd6dd0b54242d39 |
File details
Details for the file LongTermBiosignals-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: LongTermBiosignals-2.0.2-py3-none-any.whl
- Upload date:
- Size: 162.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38f11987ca641583d137c14dcf2d5374417fc3533e734fb6e84697b50f9971b5 |
|
MD5 | 593d0d94cfbf6ffea96788ea15298510 |
|
BLAKE2b-256 | 2c5cc18372a13f1f422cfc09bd76e26543a3422b4d319d8d56d50be64bfee3f4 |