fluence considerations



In [2]:
#imports

import os
import sys

import numpy as np

import matplotlib
import matplotlib.pyplot as plt
%matplotlib inline 
matplotlib.rcParams['font.size'] = 8
matplotlib.rcParams['savefig.dpi'] = 2 * matplotlib.rcParams['savefig.dpi']

import WrightTools as wt

Representing the entire pulse as being within FWHM.


In [3]:
xi = np.linspace(-4, 4, 200)
c = 1.
a = 1.#1./(c*np.sqrt(2.*np.pi))
gauss = a*np.exp(-xi**2.)

plt.plot(xi, gauss)

FWHM = 2.35482*np.sqrt(0.5)

area = np.sqrt(np.pi)

plt.axhline(area/FWHM)
plt.axvline(-FWHM/2)
plt.axvline(FWHM/2)

plt.grid()



In [ ]: