drop was returning a tuple and dim[3] wasn't being updated so some subjects were failing with an exception from numpy that an array of size '2' couldn't be reshaped to the original dimensions. I modified interp to always return the number of trs to fix this.
drop was returning a tuple and dim[3] wasn't being updated so some subjects were failing with an exception from numpy that an array of size '2' couldn't be reshaped to the original dimensions. I modified interp to always return the number of trs to fix this.