From cdca1c6996a52c70726344cf3a3da085b53c7a7c Mon Sep 17 00:00:00 2001 From: Maxence Thevenet Date: Tue, 21 Aug 2018 16:20:33 -0700 Subject: added laser parameters --- Python/pywarpx/picmi.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Python/pywarpx/picmi.py') diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index 6ce135af6..38f2a8c07 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -360,6 +360,9 @@ class GaussianLaser(PICMI_Base.PICMI_GaussianLaser): pywarpx.laser.polarization = [np.cos(self.polarization_angle), np.sin(self.polarization_angle), 0.] # The main polarization vector pywarpx.laser.profile_waist = self.waist # The waist of the laser (in meters) pywarpx.laser.profile_duration = self.duration # The duration of the laser (in seconds) + pywarpx.laser.zeta = self.zeta + pywarpx.laser.beta = self.beta + pywarpx.laser.phi2 = self.phi2 class LaserAntenna(PICMI_Base.PICMI_LaserAntenna): -- cgit v1.2.3