-
Notifications
You must be signed in to change notification settings - Fork 0
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
Epic: LFPy–Arbor coordination #18
Comments
Hi @halfflat and @torbjone. Feel free to add me to this issue. I would advocate that methods to compute extracellular potentials and related measures of neural activity (current dipole moments, EEG, MEG, etc.) get native support in Arbor, instead of adding Arbor as a simulation back end to LFPy. LFPy in it's present form is very much built around NEURON's Python interface and it would be a substantial effort to rewrite LFPy, in particular the I'm looking at the simple LFP example file https://github.com/arbor-sim/arbor/blob/master/example/lfp/lfp.cpp, and for such linearly dependent measures, it should be feasible within Arbor to precompute the mapping M between transmembrane currents of compartments on each process I and corresponding measure V_e at each (interpolated) time step in the simulation as MI. Alternatively the the currents can be buffered. Then the different contributions of cells on different processes can be summed using MPI.Reduce(V_ext, OP=MPI.SUM) every few time steps. In order to compute different mappings, there are already some lower lever Python functions in LFPy that can possibly be carried over however, see https://github.com/LFPy/LFPy/blob/master/LFPy/lfpcalc.py From the user's perspective in order to create an extracellular recording electrode, I think having a syntax in Python similar to the following would be nice:
I don't know however how this would appear on the C++ level, but if a generic method to compute measures that depend linearly on transmembrane currents (and/or voltages) can be provided natively in Arbor, it could be quite trivial to write python functions for different measurement modalities. What do you think? |
@halfflat, I've created an issue in the main hybridLFPy repo for the hybridLFPy-Arbor idea we discussed here: INM-6/hybridLFPy#67 (for future reference and all that). |
This work is done in a seperate repo. Closing the issue at this location |
Summary
Tasks
Arbor prototype development is current tracked in Arbor issues #1057 and #1036.
Requirements
In the first instance (prototype development) we will develop an LFP demo based on Arbor, emulating an equivalent simple NEURON demo provided by LFPy.
Acceptance criteria
The text was updated successfully, but these errors were encountered: