staircase.Stairs.mode#

Stairs.mode()#

The mode of the step function.

Returns
float

The mode of the step function

Examples

>>> s1.plot(arrows=True)
>>> s1.mode()
1
../../_images/staircase-Stairs-mode-1.png
>>> s4.plot(arrows=True)
>>> s4.mode()
0.5
../../_images/staircase-Stairs-mode-2.png