For all the point neuron fans:
Mazzoni, Lindén et al., 2015 is a cool paper that presents a (good, R²>0.9) proxy for LFP you can compute from point neurons (as opposed to the expensive multi-compartment models you need to simulate the physics behind it), but there was no easy-to-use implementation of it…until now! wslfp
is a Python package that lets you plug in neuron and electrode coordinates and synaptic currents and get LFP out. It also lets you synthesize synaptic currents from spikes alone so you don’t even have to simulate synaptic dynamics.
Soon to be integrated into Cleo! I’ve shared Cleo here before, but it’s a testbed for turning Brian simulations into virtual experiments (ephys, optogenetics, calcium imaging, closed-loop stimulation). Also, compare wslfp
with tklfp
.