<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>- is &quot;<span class="gmail-m_-1513384546972051021gmail-m_7002510439834887502gmail-pl-k" style="font-family:SFMono-Regular,Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;font-size:12px;white-space:pre-wrap;box-sizing:border-box;color:rgb(215,58,73)">def</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;font-size:12px;white-space:pre-wrap"> </span><span class="gmail-m_-1513384546972051021gmail-m_7002510439834887502gmail-pl-en" style="font-family:SFMono-Regular,Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;font-size:12px;white-space:pre-wrap;box-sizing:border-box;color:rgb(111,66,193)">qrs_detector</span>&quot;  the good script to know the R-R inteval in seconds ? Because with the RR inteval I could be able to compute the heart rate (HR=60 seconds / RR) </div></div></blockquote><div><br></div><div>I would try to use that function and then use visual inspection to verify that it works (plot the detected events on top of the original signal). From those events you can get the interval.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>- What is the difference between &quot;<span style="color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;font-size:12px;white-space:pre-wrap">Detect QRS component in ECG channels</span> &quot; and &quot;<span style="color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;font-size:12px;white-space:pre-wrap">Indices of ECG peaks</span> &quot; ? </div></div></blockquote><div><br></div><div>In the docstring, the first is the title / description of what the function does, the second is telling you what the function returns. But perhaps I&#39;m not quite sure what you&#39;re asking.</div><div><br></div><div>Eric</div></div></div>