 ancestry vector.</p>
    </div>

    <pre class="usage"><span class='fu'>resampleParticles</span><span class='op'>(</span><span class='va'>log_weights</span>, <span class='va'>ampMx</span>, <span class='va'>scaleMx</span>, <span class='va'>peaks</span>, <span class='va'>baselines</span>, <span class='va'>n_y</span>, <span class='va'>nwl</span><span class='op'>)</span></pre>

    <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
    <table class="ref-arguments">
   