xoa.core.signal.quantile_mask

Contents

xoa.core.signal.quantile_mask#

xoa.core.signal.quantile_mask(x, quantile)[source]#

Mask of the samples at or above a quantile of their own series.

Parameters:
  • x (ndarray (nt, ...)) – Time first; NaNs are ignored (and never selected).

  • quantile (float) – Between 0 and 1, computed along time for each point.

Returns:

ndarray of bool, same shape as x