NeuralAnalysis / PyalData

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

Make rebin_array work for 1D arrays #82

Closed bagibence closed 3 years ago

bagibence commented 3 years ago

If the input is 1D, reshape it to 2D, do everything as normal, then get rid of the extra dimension by squeezing.

Fixes #80