def normframe(I: np.ndarray, Clim: tuple) -> np.ndarray:
Vmin = Clim[<NUM_LIT:0>]<EOL>Vmax = Clim[<NUM_LIT:1>]<EOL>return (I.astype(np.float32).clip(Vmin, Vmax) - Vmin) / (Vmax - Vmin)<EOL>
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