Package for detecing HFOs
Project description
HFODetector
RMS detector
Installation
pip install HFODetector==0.0.9
Example usage
test.py
import numpy as np
from HFODetector.RMSDetector import RMS_detector
if __name__ == "__main__":
edf_path = "example_edf.edf"
detector = RMS_detector()
channel_names, start_end = detector.predict_edf(edf_path)
np.savez_compressed("test_results.npz", channels=channel_names, start_end=HFOs)
python3 test.py
to generate test_results.npz
test_results.npz
will contain the following:
start_end
: start and end timestamps of detected edfs ((N,2) array)channel_names
: names of channels corresponding to the detected edfs ((N,) array)
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
HFODetector-0.0.9.tar.gz
(13.4 kB
view hashes)
Built Distribution
Close
Hashes for HFODetector-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d68dbd348562fd14840ba67b6bafb51b61072effb35144571f6e280e43e42d |
|
MD5 | 49a1d691b116324f1150c693e8babfbd |
|
BLAKE2b-256 | 296526f15a64742178186fcae10475516e55281133682f978ba40f2d884d84de |