/KubiosDataLoading

Importing text files from Kubios ECG data analysis

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Kubios Data Loading

This package will allow users to import pre-analysed Kubios text files into python. This transforms the raw text file into a pandas data frame which can be used in further analysis or machine learning.

Usage

import the package and with the final function of the class you will be able to extract all different segments of the kubios data-analysis in a dict.

from KubiosDataloader import KubiosDataLoading

data_loader = KubiosDataLoading(kubios_data = "filename.txt") #insert file location of the kubios text file
kubios_dict = data_loader.kubios_data_extraction() # returns dictionary with data frames of every section in the kubios file

To do

  • Optimizing data frame sections besides the time-varying data frame
  • Write more tests

License

GNU GPLv3