code: def d2gauss(x,m_y,sigma):
      '''returns the second derivative of the gaussian with mean m_y,
  and standard deviation sigma, calculated at the points of x.'''
  
      return gauss(x,m_y,sigma)*[-1/sigma**2 + (n-m_y)**2/sigma**4 for n in xf d2gauss(x,m_y,sigma):
      '''returns the second derivative of the gaussian with mean m_y,
  and standard deviation sigma, calculated at the points of x.'''
  
      return gauss(x,m_y,sigma)*[-1/sigma**2 + (n-m_y)**2/sigma**4 for n in x]
docs: returns the second derivative of the gaussian with mean m_y,
  and standard deviation sigma, calculated at the points of x.