def ascent():
 import pickle
 import os
 fname = os.path.join(os.path.dirname(__file__), 'ascent.dat')
 with open(fname, 'rb') as f:
  ascent = array(pickle.load(f))
 return ascent

def ascent ( ) : import pickle import os fname = os . path . join ( os . path . dirname ( __file__ ) , 'ascent.dat' ) with open ( fname , 'rb' ) as f : ascent = array ( pickle . load ( f ) ) return ascent
get an 8-bit grayscale bit-depth .