You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
:The text was updated successfully, but these errors were encountered: