Skip to content

Phase features - #2

Open
ptuan5 wants to merge 2 commits into
mainfrom
phase-features
Open

Phase features#2
ptuan5 wants to merge 2 commits into
mainfrom
phase-features

Conversation

@ptuan5

@ptuan5 ptuan5 commented Sep 3, 2026

Copy link
Copy Markdown

Add phase features, so we can plot & compute peak/trough offsets.
Update np.Inf so it works with newer version of numpy

ptuan5 and others added 2 commits August 19, 2026 15:25
Adds phase_features.py with two ways to summarize a landmark's lateral
displacement across strides (AverageFirst: average curves then read
peak/trough; PerStride: gaitinference's own per-stride method
aggregated via circular mean/variance), wires the new columns and a
--phase-curves-output-dir flag into summarizegaitcsv.py, and adds a
lat_disp_trough_phase() counterpart to gaitinference's existing
lat_disp_phase(). Also fixes deprecated NumPy aliases (np.Inf, np.NaN,
np.float) removed in modern NumPy. Includes an Apptainer container def
for building the project.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ptuan5
ptuan5 requested a review from michberger September 3, 2026 14:11
@ptuan5 ptuan5 self-assigned this Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant