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 : ndarray(ch × annotation range) -> ndarray
- others
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
labedf-1.1.4.tar.gz
(5.4 kB
view hashes)
Built Distribution
labedf-1.1.4-py3-none-any.whl
(6.4 kB
view hashes)