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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pyphasesrecordloaderprofusion-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fc1709d8c5680cf1f50554d1b587a1f68271628647b562a4baafba413e4095c5
MD5 fb5b3fdccf24cf564a0291298e3aa824
BLAKE2b-256 4c38109e56b28173fb911568fb774f0b24f723ffed57ab573cbe35eb94fa251b

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