NeuralAnalysis / PyalData

Repository for the Python implementation of the TrialData analysis library.
GNU General Public License v3.0
7 stars 9 forks source link

restrict_to_interval on 1D signals #64

Closed bagibence closed 3 years ago

bagibence commented 3 years ago

IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

thrown at line 545: return [trial[signal][epoch_fun(trial), :] for (i, trial) in trial_data.iterrows()]