parameters: ()
return_statement: return ascent
docstring: Get an 8-bit grayscale bit-depth, 512 x 512 derived image for easy use in demos
  
      The image is derived from accent-to-the-top.jpg at
      http://www.public-domain-image.com/people-public-domain-images-pictures/
  
      Parameters
      ----------
      None
  
      Returns
      -------
      ascent : ndarray
         convenient image to use for testing and demonstration
  
      Examples
      --------
      >>> import scipy.misc
      >>> ascent = scipy.misc.ascent()
      >>> ascent.shape
      (512, 512)
      >>> ascent.max()
      255
  
      >>> import matplotlib.pyplot as plt
      >>> plt.gray()
      >>> plt.imshow(ascent)
      >>> plt.show()
docstring_summary: Get an 8-bit grayscale bit-depth, 512 x 512 derived image for easy use in demos
docstring_tokens: Get an 8 - bit grayscale bit - depth 512 x 512 derived image for easy use in demos
function: def ascent():
      """
      Get an 8-bit grayscale bit-depth, 512 x 512 derived image for easy use in demos
  
      The image is derived from accent-to-the-top.jpg at
      http://www.public-domain-image.com/people-public-domain-images-pictures/
  
      Parameters
      ----------
      None
  
      Returns
      -------
      ascent : ndarray
         convenient image to use for testing and demonstration
  
      Examples
      --------
      >>> import scipy.misc
      >>> ascent = scipy.misc.ascent()
      >>> ascent.shape
      (512, 512)
      >>> ascent.max()
      255
  
      >>> import matplotlib.pyplot as plt
      >>> plt.gray()
      >>> plt.imshow(ascent)
      >>> plt.show()
  
      """
      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
function_tokens: 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