modulation.signal_utilities.splitting.mask_split_non_zero_concat

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

discards rest of the data if mask is shorter than data a is where the mask is 1 b is where the mask is 0

Parameters
  • mask

  • data

Returns

Return type