0][0]] * np.poly(v)

    # Return only real coefficients if input was real:
    if not(np.sum(np.imag(a))):
        b = np.real(b)

    return b</code></pre>
</details>
</dd>
<dt id="asrpy.asr_utils.numf"><code class="name flex">
<span>def <span class="ident">numf</span></span>(<span>h, a, nb)</span>
</code></dt>
<dd>
<div class="desc"><p>Get numerator B given impulse-response h of B/A and denominator A.</p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class