Thanks, I corrected the description accordingly. I hope you like it better now.

The template is centered around each point, so you get the actual position of the template if you extract the peaks.