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.1.0.tar.gz (7.3 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pyphasesrecordloaderprofusion-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ec891452123830283e24e6d72e413c777a8e5f54c0ac302c5b8f3e99c9f56760
MD5 1567de410bbbc1cc93de34b74c1be510
BLAKE2b-256 1c85f6e55f4e574007d168fcf325c3e30ee72ee6f9c9471ec7308f4e6885960b

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