Skip to content

Correct canonical psychophysical kernel timing - #11

Merged
rojasgabriel merged 1 commit into
devfrom
codex/fix-bpod-kernel-timing
Aug 3, 2026
Merged

Correct canonical psychophysical kernel timing#11
rojasgabriel merged 1 commit into
devfrom
codex/fix-bpod-kernel-timing

Conversation

@rojasgabriel

Copy link
Copy Markdown
Owner

Summary

  • put Bpod stimulus and observation times in the same trial-relative coordinate system
  • require NIDAQ flashes and port events to align to their Bpod predictions within 100 ms, excluding incomplete trials instead of mixing clocks
  • reduce pooled kernels to the fixed-width Odoemene Equation 5 model with opaque integer configuration IDs for center-exit and response fits
  • replace the disposable legacy kernel tables through an explicit migration and strengthen timing, schema, and migration tests

Test plan

  • uvx ruff check .
  • uvx ruff format --check .
  • uv run python -m unittest discover -s tests -v
  • compare aligned Bpod and NIDAQ extraction on a live session
  • reset and repopulate the live disposable kernel tables after merge

Made with Cursor

Use aligned Bpod and NIDAQ clocks with a single fixed-width Odoemene Equation 5 model and opaque integer configuration IDs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rojasgabriel
rojasgabriel merged commit 2af938b into dev Aug 3, 2026
3 checks passed
@rojasgabriel
rojasgabriel deleted the codex/fix-bpod-kernel-timing branch August 3, 2026 22:53
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