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, 512 x 512 derived image for easy use in demos
dataset/ETHPy150Open scipy/scipy/scipy/misc/common.py/ascent