-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replay with NetCons in CoreNEURON as in NEURON #173
Conversation
This comment has been minimized.
This comment has been minimized.
d28a59a
to
fe8cac6
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
a4f181f
to
82c4a78
Compare
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one clarification otherwise changes look good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'm happy to see CoreNeuron specific handling going away and that this change is basically a clean-up 💪
82c4a78
to
d7ddeea
Compare
This comment has been minimized.
This comment has been minimized.
NEURODAMUS_MODELS_BRANCH=weji/GluSynapse
…ride until the next deployment of neurodamus-neocortex NEURODAMUS_MODELS_BRANCH=weji/GluSynapse BLUECONFIGS_BRANCH=weji/ref_v9
d7ddeea
to
2556b99
Compare
BLUECONFIGS_BRANCH=weji/ref_v9
2556b99
to
f9180ba
Compare
This comment has been minimized.
This comment has been minimized.
Logfiles from GitLab pipeline #218697 (:no_entry:) have been uploaded here! Status and direct links: |
## Context Currently Neurodamus uses different spike replay processes for NEURON and CoreNEURON: - For NEURON, it creates NetCons between a Vectim and the post synaptic object - For CoreNeuron, it writes the spikes into a .dat file and passes it to CoreNEURON via "–pattern" CLI h For the feature of running CoreNEURON in memory, we need to unify the synapse replay for both simulators. This PR makes CoreNEURON to replay as NEURON, using NetCons and VecStim. NetCons should be transferable between Neuron and CoreNEURON. ## Scope - In `node.py`, remove `_coreneuron_replay_append` for writing out replay data file. Call the same replay function for CoreNEURON. - In `connection_manager.py`, no `attach_src` for coreneuron virtual source. `replay_mode` from ReplayMode.NONE -> ReplayMode.AS_REQUIRED for coreneuron - In `neuromodulation_manager.py`, similar changes ## Testing Current tests ## Review * [x] PR description is complete * [x] Coding style (imports, function length, New functions, classes or files) are good * [x] Unit/Scientific test added * [ ] Updated Readme, in-code, developer documentation
Context
Currently Neurodamus uses different spike replay processes for NEURON and CoreNEURON:
For NEURON, it creates NetCons between a Vectim and the post synaptic object
For CoreNeuron, it writes the spikes into a .dat file and passes it to CoreNEURON via "–pattern" CLI h
For the feature of running CoreNEURON in memory, we need to unify the synapse replay for both simulators. This PR makes CoreNEURON to replay as NEURON, using NetCons and VecStim. NetCons should be transferable between Neuron and CoreNEURON.
Scope
node.py
, remove_coreneuron_replay_append
for writing out replay data file. Call the same replay function for CoreNEURON.connection_manager.py
, noattach_src
for coreneuron virtual source.replay_mode
from ReplayMode.NONE -> ReplayMode.AS_REQUIRED for coreneuronneuromodulation_manager.py
, similar changesTesting
Current tests
Review