- Velocimetry.mask.variance(tolerance=5, mode='and')#
Masks locations if their variance (std/mean in time) is above a tolerance level for either or both x and y direction.
tolerance (float) – amount of standard deviations allowed from the mean
mode (str) – can be “and” (default) or “or”. If “or” (“and”), then only one (both) of two vector components need(s) to be within tolerance.
mask – mask applicable to input dataset with
inplace=True, the dataset will be returned masked with
- Return type: