  
  <h1>Source code for teaspoon.parameter_selection.delay_LMS</h1><div class="highlight"><pre>
<span></span>
<span class="c1"># In[ ]:</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd">This function a statistical analysis (using the least median of squares) of the fourier spectrum (FFT) from a time series to detect </span>
<span class="sd">the greatest signficant frequency, which is then used to select the delay (tau) from the samping rate criteria developed in </span>
<span class="sd">On