Skip to main content

Merge the lab.js csv file and the edf file.

Project description

labedf.py

Merge the lab.js csv file and the edf file.

Installation

pip install labedf

How to Use

from labedf import csv2,edf2

lab.js csv + edf file → merged edf file

csv2.merge_csv2edf("./xxx.edf","./labjs.csv","./ex.edf")

Optional Arguments

merged edf file → hdf file

edf2.split_annotations_edf2hdf("./ex.edf","./ex.hdf5",is_groupby=True)

Optional Arguments

  • is_groupby : GROUP BY (default value = False)
  • is_overwrite : overwite a file(default value = False)
  • before_preprocessing_func : preprocessing function
    • type : list[ndarray] -> (list[ndarray] | Any)
  • after_preprocessing_func(function?) : Preprocess the signals split by annotations. ndarray
    • type : [signals:ndarray, label:str] -> ndarray
  • others

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

labedf-1.1.7.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

labedf-1.1.7-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

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