cbadc.digital_estimator.adaptive_filter.batch

cbadc.digital_estimator.adaptive_filter.batch(signal: ndarray, batch_size: int, axis: int = 0) ndarray[source]

Batch the signal for FIR filter processing

Parameters
  • signal (array_like) – The signal to batch

  • batch_size (int) – The batch size

  • axis (int, optional) – The axis along which to batch the signal, by default 0

Returns

batched_signal – The batched signal where the last dimension is the batch dimension

Return type

np.ndarray