def sixteen2eight(I: np.ndarray, Clim: tuple) -> np.ndarray:
Q = normframe(I, Clim)<EOL>Q *= <NUM_LIT:255>  <EOL>return Q.round().astype(np.uint8)<EOL>
scipy.misc.bytescale had bugs

inputs:
------
I: 2-D Numpy array of grayscale image data
Clim: length 2 of tuple or numpy 1-D array specifying lowest and highest expected values in grayscale image
Michael Hirsch, Ph.D.