lime/cavity.py
def spectrum(self, omega):
        """
        Fourier transform of the Gaussian pulse
        """
        omegac = self.omegac
        sigma = self.sigma
        a = self.amplitude
        return a * sigma * np.sqrt(2.*np.pi) * np.exp(-(omega-omegac)**2 * sigma**2/2.)

        Fourier transform of the Gaussian pulse
        
Fourier transform of the Gaussian pulse
Fourier transform of the Gaussian pulse
def spectrum(self, omega):
        omegac = self.omegac
        sigma = self.sigma
        a = self.amplitude
        return a * sigma * np.sqrt(2.*np.pi) * np.exp(-(omega-omegac)**2 * sigma**2/2.)
def spectrum ( self , omega ) : omegac = self . omegac sigma = self . sigma a = self . amplitude return a * sigma * np . sqrt ( 2. * np . pi ) * np . exp ( - ( omega - omegac ) ** 2 * sigma ** 2 / 2. )
Fourier transform of the Gaussian pulse
Fourier transform of the Gaussian pulse
"""
        Fourier transform of the Gaussian pulse
        """
self
omega