PhysioNet 2018 "You Snooze you Win" Recordloader - Plugin
pyPhases plugin that adds a Recordloader to your Project. The RecordLoader plugin is required.
How to use in you project
- install
pip install pyPhasesRecordloaderPhysionetthe Recordloader. - add the plugin to your
project.yaml - set the configuration to use the loader:
useLoader: physionet - set your path to the dataset:
physionet-path: /datasets/physio2018
Example integration for the project.yaml:
# ...
plugins:
- pyPhasesRecordloaderPhysionet
- pyPhasesRecordloader
# ...
config:
useLoader: physionet
physionet-path: /datasets/physio2018
- load a recording within a phase:
recordSignal, events = RecordLoader.get().loadRecord(recordId)
from pyPhases import Phase
from pyPhasesRecordloader import RecordLoader
class MyPhase(Phase):
def main():
rl = RecordLoader.get()
recordSignal, events = rl.loadRecord(recordId)
print(events)
print(recordSignal.signalNames)
# run with: phases run MyPhase
Dataset
- Records: 994
- Signals: F3-M2, F4-M1, C3-M2, C4-M1, O1-M2, O2-M1, E1-M2, Chin1-Chin2, ABD, CHEST, AIRFLOW, SaO2, ECG
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyphasesrecordloaderphysionet-0.2.1.tar.gz.
File metadata
- Download URL: pyphasesrecordloaderphysionet-0.2.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67bb1abd182440b18896df691b3758c7f02877edb62680768080910a1dc1ee17
|
|
| MD5 |
274c11aa9c412d308e0336beea6e1dd4
|
|
| BLAKE2b-256 |
767395179ecf609019acf5e3dc4bf7ed7fdcba25edd949d71dbeb0f9fe6e4260
|