NeuralAnalysis / TrialData

Code base for the Matlab TrialData analysis library.
3 stars 4 forks source link

convBasisFunc won't work properly with continuous (all_points) data #4

Closed mattperich closed 5 years ago

mattperich commented 7 years ago

Currently, convBasisFunc only operates on each trial. So, if you are using continous data (from the all_points input to parseFileByTrial) there will be incorrect behavior at the trial separation points. The fix is to do the convolution on the entire continuous signal, and then break it up again into trials. I've implemented something similar in dupeAndShift.

mattperich commented 5 years ago

continuous data as a specific case has been removed from newer TrialData code, so this issue is no longer relevant.