yMaskOutsideMedianRange

Workspace.yMaskOutsideMedianRange(self: pyarts.arts._Workspace, y: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.y, dx: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Masks values not within the range as NaN:

[median(y) - dx, median(y) + dx]

Ignores NaNs in median calculations.

Author(s): Richard Larsson

Parameters:
  • y (Vector, optional) – The measurement vector. See y, defaults to self.y [INOUT]

  • dx (Numeric) – Range plus-minus the median of unmasked values. [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]