The start of the impulse response is taken as the first sample that exceeds a threshold determined by the difference between the max level and noise peak of the squared impulse response. The noise peak is taken as max of the last third of the response.