v_in</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#utils.curb" title="Permalink to this definition">¶</a></dt>
<dd><p>Takes n-long vector v[n] and rewrites it so that all points lie below
the piece-wise linear function v(k) + abs(j-k), where v(k)
is a local minimum in the original v.</p>
<p>Effectively clips strong peaks and keeps slopes under 1 in
magnitude.</p>
<p><strong>Parameters</strong></p>
<dl class="simple">
<dt>v_in<span class="classifier">ndarray [n] </span></dt>