Skip to content

v1.6.0

Choose a tag to compare

@alexarje alexarje released this 27 Jun 17:03
· 401 commits to master since this release

Highlights

Added

  • Audio–movement analysis suite (compare a single performer's sound and motion):
    • tempo_similarity() — audio vs movement tempo (ratio, nearest harmonic, cross-correlation peak/lag)
    • phase_synchrony() — phase-locking value (PLV) + polar phase-difference plot
    • structure_comparison() — audio SSM vs movement SSM + difference map
    • body_audio_coupling() — per-marker correlation of speed with audio onset (body map + ranked bars)
    • dynamics_coupling() — audio loudness (RMS) vs quantity of motion
  • pose_segments() — circular (polar rose) motion plots and per-segment circular statistics (mean angle, R, circular std, range of motion, mean angular speed) + CSV
  • resample(fps=…, speed=…, skip=…) — retime an already-loaded video, returning a new MgVideo (duration-preserving fps change, speed factor with audio in sync, and/or frame decimation)
  • pose_waterfall(style=…) gained 'markers', 'skeleton', 'both' styles plus axes=False (clean render) and crop=True (trim to data); silhouette_waterfall() gained the same axes/crop options

Changed

  • pose(background='white') now also makes the trajectories image white (override with trajectory_background)

Fixed

  • Removed the white frame around the average-pose image
  • pose_waterfall(crop=True) no longer leaves a large empty margin

Documentation (with dance.avi illustrations) and the example notebook have been updated. See the CHANGELOG for full details.