Thanks for your reply. If my application requires me to calculate pulse width by to 10/90 criteria (10% rising edge and 90% falling edge), is it possible to modify pulseparams as follows: Starting at delay, step backward in the input sequence to find index of 10% rising edge. Next start at index = width + delay, step backward to find index of 90% falling edge. pulse width will = (index90 falling edge - index10 rising edge)/samplerate. Do you see any problem with my approach?
