scitex_dsp.utils

Scitex utils module.

scitex_dsp.utils.build_bandpass_filters(sig_len, fs, pha_mids, amp_mids, cycle)[source]
scitex_dsp.utils.ensure_3d(x)[source]
scitex_dsp.utils.ensure_even_len(x)[source]
scitex_dsp.utils.init_bandpass_filters(sig_len, fs, pha_low_hz=2, pha_high_hz=20, pha_n_bands=30, amp_low_hz=60, amp_high_hz=160, amp_n_bands=50, cycle=3)[source]
scitex_dsp.utils.zero_pad(xs, dim=0)[source]

Zero pad a list of arrays to the same length.

Parameters:
  • xs – List of tensors or arrays

  • dim – Dimension to stack along

Returns:

Stacked tensor with zero padding

Modules

filter