Skip to main content

Adds a record loaders to the pyPhases package

Project description

Extension for pyPhasesRecordloader

Usage

In a phase you can access the data through the RecordLoader:

Add the plugins and config values to your project.yaml::

name: ProfusionProject
plugins:
  - pyPhasesML
  - pyPhasesRecordloaderProfusion
  - pyPhasesRecordloader

phases:
  - name: MyPhase

config:
  profusion-path: C:/datasets/recordings

In a phase (phases/MyPhase.py) you can access the records using the RecordLoader:

from pyPhasesRecordloader import RecordLoader
from pyPhases import Phase

class MyPhase(Phase):
    def run(self):
      recordIds = recordLoader.getRecordList()
      for recordId in recordIds:
        record = recordLoader.getRecord(recordId)

Run your project with python -m phases run MyPhase.

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

pyphasesrecordloaderprofusion-0.4.0.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file pyphasesrecordloaderprofusion-0.4.0.tar.gz.

File metadata

File hashes

Hashes for pyphasesrecordloaderprofusion-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fac6d14729fcba8335a97dbecb0a2efc19b693ab45fb3103cbf28a5553404196
MD5 fd12d5265c1a1662cf38074c6f546a07
BLAKE2b-256 cab84ec8752ff8b24f2cce63b0c30635831bc95b569e775b6068829dc0d17074

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