Skip to main content

Adds a record loaders to the pyPhases package

Project description

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 pyPhasesRecordloaderPhysionet the 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

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

pyphasesrecordloaderphysionet-0.2.1.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file pyphasesrecordloaderphysionet-0.2.1.tar.gz.

File metadata

File hashes

Hashes for pyphasesrecordloaderphysionet-0.2.1.tar.gz
Algorithm Hash digest
SHA256 67bb1abd182440b18896df691b3758c7f02877edb62680768080910a1dc1ee17
MD5 274c11aa9c412d308e0336beea6e1dd4
BLAKE2b-256 767395179ecf609019acf5e3dc4bf7ed7fdcba25edd949d71dbeb0f9fe6e4260

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page