From d7ce0911d22e78b6dae1e44eb42564e68941d31b Mon Sep 17 00:00:00 2001 From: Spencer Jolly <35569785+spencerjolly@users.noreply.github.com> Date: Fri, 1 Dec 2023 13:02:07 +0100 Subject: [PATCH] Update lasy/profiles/spacetime_profile.py update docstring Co-authored-by: Remi Lehe --- lasy/profiles/spacetime_profile.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lasy/profiles/spacetime_profile.py b/lasy/profiles/spacetime_profile.py index 4c2e5bec..b33557e6 100644 --- a/lasy/profiles/spacetime_profile.py +++ b/lasy/profiles/spacetime_profile.py @@ -47,9 +47,10 @@ class SpaceTimeProfile(Profile): w0: float (in meter) The waist of the laser pulse, i.e. :math:`w_0` in the above formula. - sc: spatial chirp, b in the above formula, that results in a mixing - of the longitudinal and transverse profiles. Must be in units - of [x/omega]. A representative real value is b = w0 * tau. + b: float (in meter.second) + Spatial chirp, i.e. :math:`b` in the above formula, that results in the laser frequency + varying as a function of `x`. A representative real value is b = w0 * tau. + t_peak: float (in second) The time at which the laser envelope reaches its maximum amplitude,