eelbrain.NDVar.unmask

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

Remove mask from a masked NDVar

Parameters:
  • masked (float | str) – What to do to the 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).