From 065c6c8a0d719a68c587bb9e0f47ec233da15204 Mon Sep 17 00:00:00 2001 From: Xingjian Hui <151739545+huixingjian@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:51:01 +0100 Subject: [PATCH] Update gaussian_profile.py --- lasy/profiles/gaussian_profile.py | 33 ++++++++++++------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/lasy/profiles/gaussian_profile.py b/lasy/profiles/gaussian_profile.py index b4a95e13..f43fbb3c 100644 --- a/lasy/profiles/gaussian_profile.py +++ b/lasy/profiles/gaussian_profile.py @@ -62,35 +62,28 @@ class GaussianProfile(Profile): z_foc : float (in meter), optional Position of the focal plane. (The laser pulse is initialized at `z=0`.) - beta : float (in second), optional (default '0') - The angular dispersion parameterized by: - + phi2 : float (in seconds^2), optional (default: '0') + The group-delay dispersion defined as: + .. math:: + \phi^{(2)} = \frac{dt}{d\omega} + + beta : float (in seconds), optional (default: '0') + The angular dispersion defined as: .. math:: - \beta = \frac{d\theta_0}{d\omega} - Here :math:`\theta_0` is the propagation angle of this component. - The definitions of beta, phi2 and zeta are taken from [S. Akturk et al., Optics Express 12, 4399 (2004)]. - - phi2 : float (in second^2), optional (default '0') - The group-delay dispersion parameterized by: - - .. math:: - - \phi^{(2)} = \frac{dt}{d\omega} - - zeta : float (in meter * second) optional (default '0') - The spatial chirp parameterized by: + zeta : float (in meters * seconds), optional (default: '0') + A spatial chirp defined as: .. math:: - \zeta = \frac{dx_0}{d\omega} - Here :math:`x_0` is the beam center position. + The definitions of beta, phi2, and zeta are taken from [S. Akturk et al., Optics Express 12, 4399 (2004)]. - stc_theta : float (in rad) optional (default '0') + stc_theta : float (in radians), optional (default: '0') Transverse direction along which there are chirps and spatio-temporal couplings. - 0 is along x axis. + A value of 0 corresponds to the x-axis. + Examples --------