iced.utils.
downsample_resolution
(counts, lengths, factor=2)¶Downsamples the resolution of a matrix
Parameters: | counts : ndarray (N, N)
lengths : ndarray (L, )
coef : int, optionnal, default: 2
|
---|---|
Returns: | target_counts, target_lengths : ndarray |