Squared time-integral of the electric field at the peak.
The pulse is exp(-t**2/tp**2).
P (float) – Average power in W.
frep (float) – Repetition rate.
w (float) – Amplitude beam radius.
tp (float) – Amplitude Gaussian pulse duration.