eelbrain.NDVar.unmask

NDVar.unmask(fill_value=None, name=None)

Remove mask from a masked NDVar

Parameters:
  • fill_value (float | str) – Vakue to fill in for previously masked values; can be the name of any numpy method, derived from the previously unmasked values (e.g., mean or max).

  • name (str) – Name of the output NDVar (default is the current name).