Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actigraphy File QC

Static browser app for quick, local quality control of uploaded activity files.

What it does

  • Runs Python in WebAssembly through vendored Pyodide files in vendor/pyodide/.
  • Reads uploaded files with the browser File API.
  • Keeps file bytes in the user's browser; there is no upload endpoint.
  • Scans Axivity CWA and gzip-compressed CWA.GZ files for metadata (MD) and activity (AX) blocks.
  • Reports decoded timestamp range, duration, rough sample counts by day, data block counts, sample-rate hints, warnings, and a raw header preview.
  • Provides archive-level inspection for GT3X and gzip-compressed GT3X.GZ files. Full GT3X sample decoding is not implemented.

The CWA parser is intentionally cursory. It does not decompress every acceleration sample; it extracts QC-friendly fields from block headers so large files can be checked quickly in the browser.

Deploy on GitHub Pages

  1. Commit index.html, styles.css, qc.py, vendor/pyodide/, and this README.md.
  2. Push to GitHub.
  3. In the repository settings, enable GitHub Pages from the branch containing these files.

No server-side runtime is required. Pyodide is served from this repository, so the app does not need a CDN at runtime.

Run locally or offline

Start a local static server from this directory:

python3 -m http.server 8000

Then open:

http://localhost:8000/

The app can run offline as long as this repository folder is already present on the computer. The browser loads Pyodide from vendor/pyodide/, then processes selected activity files locally.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages