-
Notifications
You must be signed in to change notification settings - Fork 11
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
record synaptic currents #363
Comments
synaptic currents actually got recorded (only) in network level, as net0.cell(0).branch(0).loc(0.5).stimulate(current, verbose=False)
# record the membrane potential of the pre- and post-synaptic compartments
net0.cell(0).branch(0).loc(0.5).record(verbose=False)
net0.cell(1).branch(0).loc(0.5).record(verbose=False)
net0.cell(1).branch(0).loc(0.5).record("AMPA_R", verbose=False)
net0.cell(1).branch(0).loc(0.5).record("AMPA_C", verbose=False)
net0.record("AMPA_current", verbose=False) maybe we should update the synapses to the same convention used in channel. |
Is there any interest in adding functionality for recording extracellular fields (since they're calculated directly from these currents)? I'm planning to start playing around with jaxley to simulate LFP/EEG, happy to try and contribute if there's interest in a dedicated API |
Yes, it would definitely be great to have this! Let me know if you need any input or would like to discuss, I would be happy to have a quick chat over zoom! Michael Aside: my guess is that achieving this will require to have access to x, y, z of postsynaptic compartments. Once #464 is merged, those can be accessed by doing: net._update_nodes_with_xyz()
net.copy_node_property_to_edges("x", "post")
net.edges |
I'm actually realizing that the index on this dataframe does seem to correspond to |
Indeed, the index of whatever you are recording is written to Lines 1479 to 1481 in 32068e9
|
at the moment it is not possible to record that
The text was updated successfully, but these errors were encountered: