Extension for pyPhasesRecordloader
Extension to load data records from the Study of Osteoporotic Fractures (SOF) database.
The extensions requires a downloaded version of the sof dataset. The location can be set through the config value sof-path.
Usage
In a phase you can acess the data through the RecordLoader:
Add the plugins and config values to your project.yaml:
name: SOFProject
plugins:
- pyPhasesML
- pyPhasesRecordloaderSOF
- pyPhasesRecordloader
phases:
- name: MyPhase
config:
sof-path: C:/datasets/sof
In a phase (phases/MyPhase.py) you can acess the records through 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
Annotations
| Count | EventConcept |
|---|---|
| 69280 | Limb movement - right|Limb Movement (Right) |
| 64941 | Limb movement - left|Limb Movement (Left) |
| 61557 | Hypopnea|Hypopnea |
| 58100 | ASDA arousal|Arousal (ASDA) |
| 24017 | Stage 2 sleep|2 |
| 17201 | SpO2 artifact|SpO2 artifact |
| 15620 | Stage 3 sleep|3 |
| 14126 | Wake|0 |
| 9281 | Obstructive apnea|Obstructive Apnea |
| 8589 | Stage 1 sleep|1 |
| 3295 | REM sleep|5 |
| 1898 | Arousal|Arousal () |
| 1580 | Stage 4 sleep|4 |
| 1078 | Central apnea|Central Apnea |
| 859 | Technician Notes |
| 453 | Recording Start Time |
| 353 | Periodic leg movement - right|PLM (Right) |
| 250 | Periodic leg movement - left|PLM (Left) |
| 217 | SpO2 desaturation|SpO2 desaturation |
| 27 | Unscored|9 |
| 2 | Respiratory artifact|Respiratory artifact |
| 2 | Mixed apnea|Mixed Apnea |
Metadata
Release files for pyPhasesRecordloaderSOF 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyphasesrecordloadersof-0.1.0.tar.gz | 5.4 kB | Without provenance | Details for pyphasesrecordloadersof-0.1.0.tar.gz |
Release files / pyphasesrecordloadersof-0.1.0.tar.gz
| Download URL | pyphasesrecordloadersof-0.1.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a78d59e6ed359acb9c7346e41674631e17d46ad488ef927326be2ddd88ad07cb
|
|
BLAKE2b-256 checksum How to use checksums |
c739f241c077751f4350b23c395190cecb22106015c042b544880e78a8485dd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for pyPhasesRecordloaderSOF 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.