modulation.signal_utilities.splitting.mask_split_non_zero_segments

modulation.signal_utilities.splitting.mask_split_non_zero_segments(mask: Sequence, data: Sequence) Tuple[Sequence, Sequence][source]

discards rest of the data if vad is shorter than data

a is where the mask is 1 b is where the mask is 0

Parameters
  • mask

  • data

Returns

Return type