def clamp(x, x0, x1):
	if x > x1:
		return x1
	elif x < x0:
		return x0
	else:
		return x
Clamp a provided value to be between x0 and x1 (inclusive).  If value is
dataset/ETHPy150Open adafruit/FreqShow/views.py/clamp