def load_pilatus(filename): '''Y.G. Nov 1, 2017 Load a pilatus 2D image ''' return np.array( PIL.Image.open(filename).convert('I') )