da (DataArray) – The data that segment mean should be removed.
limits (list of float) – The segments limits.
window (str, optional) – The tapering windows to apply at each window, by default “hann”.
dim (str, optional) – The dimension along which to remove the segment means, by default “last”.