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.10.tar.gz
(13.4 kB
view hashes)
Built Distribution
Close
Hashes for HFODetector-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f1734789fcaa1336edf9175f4ceff692ef1777a05e56f0d4a744552233cdb4 |
|
MD5 | 17c3cb6ad5ec1cffbb9adc1f44a397b1 |
|
BLAKE2b-256 | 75acf95f7270a636c56ca35d6ff26e85ba9dd7d5020d0e65a454e5401f5cb1c6 |