{ } Raw JSON

bundles / scipy latest / scipy / signal / _upfirdn / _pad_h

function

scipy.signal._upfirdn:_pad_h

source: /scipy/signal/_upfirdn.py :47

Signature

def   _pad_h ( h up )

Summary

Store coefficients in a transposed, flipped arrangement.

Extended Summary

For example, suppose upRate is 3, and the input number of coefficients is 10, represented as h[0], ..., h[9].

Then the internal buffer will look like this

h[9], h[6], h[3], h[0],   // flipped phase 0 coefs
0,    h[7], h[4], h[1],   // flipped phase 1 coefs (zero-padded)
0,    h[8], h[5], h[2],   // flipped phase 2 coefs (zero-padded)

Aliases

  • scipy.signal._upfirdn._pad_h