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