ass="p">)</span>
    <span class="n">filtered0</span> <span class="o">=</span> <span class="n">butterworth</span><span class="p">(</span><span class="n">ts</span><span class="p">,</span> <span class="n">cutoff</span><span class="p">,</span> <span class="n">order</span><span class="o">=</span><span class="mi">8</span><span class="p">)</span>
    <span class="n">filtered1</span> <span class="o">=</span> <span class="n">cosine_lanczos</span><span class="p">(</span><span class="n">ts</span><span class="p">,</sp