earthpy.spatial — EarthPy 0.9.4 documentation
earthpy.readthedocs.io › en › latestByte scaling converts the input image to uint8 dtype, and rescales the data range to (low, high) (default 0-255). If the input image already has dtype uint8, no scaling is done. Source code adapted from scipy.misc.bytescale (deprecated in scipy-1.0.0) Parameters. data (numpy array) – image data array. high (int (default=255)) – Scale max ...