LFPykit and Arbor #1806
-
Yesterday I spoke with @davbass about Arbor and he asked how Arbor can be used to estimate local field potentials. I forgot that we already have an example demonstrating combining LFPykit and Arbor, see python/example/single_cell_extracellular_potentials.py. @espenhgn kindly provided the example, so I thought that he might comment: is there anything more brewing on your end, or does this example show the integration between Arbor and LFpykit is 'complete'? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi Brent,
Right now I believe this latter idea is not possible, as the CV data needed is not exposed before the neuron model/simulation is actually instantiated. @davbass; if you have any questions about LFPykit don't hesitate to contact me (via https://github.com/LFPy/LFPykit/issues for instance) |
Beta Was this translation helpful? Give feedback.
-
Thanks @espenhgn ! I think this example should be promoted to a tutorial, because people have asked about this before and it would be good be able to show a working demo. @espenhgn are you planning to modify |
Beta Was this translation helpful? Give feedback.
-
In the meantime, the tutorial has been added: https://docs.arbor-sim.org/en/latest/tutorial/tutorial_lfpykit.html |
Beta Was this translation helpful? Give feedback.
Hi Brent,
I didn't have any immediate plans to change this example, although it could be improved somewhat:
lfpykit.CellGeometry
class for dealing with the mapping of geometries of segments to the corresponding CVs, taking theplace_pwlin
object and location metadata as inputs. I don't think the user should have to deal with this each time in order to obtain this matrixM
that is finally multiplied with the transmembrane currents from thecable_probe_total_current_cell
instance.