NeuralAnalysis / PyalData

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

concat_trials unexpected behavior #55

Closed bagibence closed 3 years ago

bagibence commented 3 years ago

If the field we want to concatenate contains a 1D signal, it doesn't concatenate along time but stacks the trials so that each trial's signal is a row.

Should be fixed by switching from np.stack to np.concatenate(arrays, axis=0)