% h = ita_time_window(h,round(opts.winLim*h.nSamples),'samples');
h=ita_time_window(h,round(opts.winLim*h.nSamples),'samples');% this was commented out, but leads to errors if the inital shift due to start IR cycles something from the impulse to the end. MKO