MneExperiment
NDVar.
sign
Element-wise indication of the sign
name (str) – Name of the output NDVar (default is the current name).
sign – NDVar of same shape, -1 if x < 0, 0 if x==0, 1 if x > 0.
-1 if x < 0, 0 if x==0, 1 if x > 0
NDVar
Notes
Like numpy.sign().
numpy.sign()