torchsig.utils.dsp.partition_polyphase

torchsig.utils.dsp.partition_polyphase(h: ndarray, up_rate: int, taps_per_phase: int) ndarray[source]

Partitions filter coefficients into a polyphase filter bank.

Parameters:
  • h – Filter coefficients (1D array of floats)

  • up_rate – Upsampling factor (integer)

  • taps_per_phase – Number of taps per phase (integer)

Returns:

2D array representing the polyphase filter bank