Open Moritz-Alexander-Kern opened 11 months ago
Thanks for reporting this issue!
I was able to reproduce it using your minimal example and to track down the error. As an immediate workaround, you can reshape the input xs
to (2304, 1)
using numpy.reshape
.
I will start working on a fix to make this workaround unnecessary in the future.
Describe the bug
Running the function
generate_lfp
with one-dimensional input results in a ValueError.To Reproduce
generate_lfp(gauss_1d_dipole, xs)
Expected behavior I expected the function to return an array of LFP values.
Environment
pip install elephant
: