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: AliceProject
plugins:
  - pyPhasesML
  - pyPhasesRecordloaderAlice
  - pyPhasesRecordloader

phases:
  - name: MyPhase

config:
  alice-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

pyphasesrecordloaderalice-0.3.0.tar.gz (12.0 kB view details)

Uploaded Source

File details

Details for the file pyphasesrecordloaderalice-0.3.0.tar.gz.

File metadata

File hashes

Hashes for pyphasesrecordloaderalice-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2c6066375d71d7dbf66196f8740484180a74e1e245a31e5821c4be76177e652f
MD5 c67453a1deb145406c3bbf0f984b8b73
BLAKE2b-256 7a394a5b82c57e7d34c11f429a9f1809c14114c5f7384c6c2ec72eabf5a29f47

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