nenupy.io.tf_utils.get_bandpass

nenupy.io.tf_utils.get_bandpass(n_channels)[source]

Compute the theoretical bandpass response of a sub-band. Function and coefficient developped/computed by C. Viou.

Parameters:

n_channels (int) – Number of channels per sub-band

Returns:

The bandpass response of a subband

Return type:

ndarray

Raises:

ValueError – Raised if n_channels is lower than 16 or is odd.

Example

>>> from nenupy.io.tf_utils import get_bandpass

>>> bp = get_bandpass(n_channels=32)