Skip to content

Match Example 05 figures to MATLAB layouts#66

Merged
iahncajigas merged 2 commits intomainfrom
fix/example05-figure-parity
Mar 17, 2026
Merged

Match Example 05 figures to MATLAB layouts#66
iahncajigas merged 2 commits intomainfrom
fix/example05-figure-parity

Conversation

@iahncajigas
Copy link
Copy Markdown
Contributor

Summary

  • Rewrites all 6 Example 05 figures to match MATLAB's exact subplot layouts
  • Fig 3: 4×2 grid — reach path with start/finish markers, neural raster, position/velocity traces, CIFs (was 2×2 state traces)
  • Fig 4: 4×2 grid — 20 overlaid decoded reach paths (PPAF+Goal blue, PPAF green) (was RMSE box plots)
  • Fig 5: 4×2 grid — hybrid reach path, 40-cell raster, position/velocity, discrete N/M state (was 2×1)
  • Fig 6: 4×3 grid — 20-sim averaged state estimation, P(state), 2D reach path, per-dimension kinematics (was 3×1 single-sim)
  • Uses MATLAB's minimum-energy reach trajectory instead of sinusoidal
  • Loads hybrid fixture from HDF5 (paperHybridFilterExample.h5) with .mat fallback
  • Adds paperHybridFilterExample.h5 and .mat fixture data to data_cache/nstat_data/

Test plan

  • All 6 Example 05 figures generate without errors
  • Fig 3–6 layouts visually match MATLAB counterparts
  • Hybrid filter fixture loads correctly from HDF5
  • CI passes all checks

🤖 Generated with Claude Code

iahncajigas and others added 2 commits March 16, 2026 19:10
- Fig 3: 4×2 grid (reach path, raster, pos/vel traces, CIFs)
- Fig 4: 4×2 grid with 20 overlaid decoded reach paths
- Fig 5: 4×2 grid (hybrid reach, raster, kinematics, discrete state)
- Fig 6: 4×3 grid with 20-sim averaged decode results
- Use minimum-energy reach trajectory matching MATLAB dynamics
- Load hybrid fixture from HDF5 (with .mat fallback)
- Add paperHybridFilterExample.h5 and .mat to data_cache

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@iahncajigas iahncajigas merged commit 076e6b9 into main Mar 17, 2026
14 checks passed
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