WrightTools.data.Variable.clip

Variable.clip(min=None, max=None, replace=nan)

Clip values outside of a defined range.

Parameters:
  • min (number (optional)) – New channel minimum. Default is None.

  • max (number (optional)) – New channel maximum. Default is None.

  • replace (number or 'value' (optional)) – Replace behavior. Default is nan.