NDVar.
sign
Element-wise indication of the sign
Name of the output NDVar (default is the current name).
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
Notes
Like numpy.sign().
numpy.sign()
MneExperiment