Repository navigation
Adopt NMDA on aud->E (G_NMDA 60, B_SCALE 10); Brian2 port - #19
Merged
Merged
Conversation
- Operating point: G_NMDA = 60 with the fast aud->E weight lowered to B_SCALE = 10, chosen by a sweep on top of the intro notes. Ten-seed means vs the model without NMDA: DAF duration 45.7 -> 60.6 ms, extra spikes 1.79 -> 1.66, peak 44 -> 35 Hz, latency 31.5 -> 33.9 +/- 1.8 ms (bound 35), reversed/trained 1.175 -> 1.156. - Brian2 runtime: NMDA as a fifth aud->E synapse object with per-synapse saturating gating summed through B, and the Mg2+-blocked conductance term on E (same mV map as numpy); the NotImplementedError guard is gone. Parity test: numpy vs Brian2 E rates agree within ~5% with and without NMDA. - Retrained (pure-defaults run reproduces it byte-for-byte); slow-test pins with 3-SD tolerances, README table and NMDA section, MODEL.md, design notes and MANIFEST updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes NMDA part of the shipped model.
Operating point:
G_NMDA = 60, with the fast auditory→E weight lowered toB_SCALE = 10.Sweep (5 seeds, intro notes on), across g_NMDA /
B_SCALE:60 / 10 lengthens the response and weakens it; at
B_SCALE12, spikes rise above the no-NMDA model.Ten-seed means vs the current model (no NMDA):
Caveats:
Brian2:
B, plus the Mg²⁺-blocked conductance term on E, using the same mV map as numpy. The guard is removed.Artifacts: retrained
ven_model.npz, and a pure-defaults run reproduces it byte-for-byte. Pins (3-SD tolerances), README, MODEL.md, design notes and MANIFEST are updated. 207 tests pass; ruff clean.finchsim: still pinned to an older spiking-ven and model; upgrading it is a separate PR.
🤖 Generated with Claude Code