     <span class="n">mask_harm</span> <span class="o">=</span> <span class="n">mag_spec_harm</span> <span class="o">&gt;</span> <span class="n">mag_spec_perc</span>
            <span class="n">mask_perc</span> <span class="o">=</span> <span class="n">mag_spec_harm</span> <span class="o">&lt;=</span> <span class="n">mag_spec_perc</span>

        <span class="k">elif</span> <span class="n">masking_mode</span> <span class="o">==</span> <span class="s1">&#39;relative&#39;</span><span class="p">:</span>
        