Skip to content

Commit

Permalink
Update examples/laser/analysis_laser_init_chirp.py
Browse files Browse the repository at this point in the history
Co-authored-by: Maxence Thévenet <[email protected]>
  • Loading branch information
huixingjian and MaxThevenet authored Nov 27, 2024
1 parent 248e903 commit 25630be
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/laser/analysis_laser_init_chirp.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
from openpmd_viewer.addons import LpaDiagnostics

def get_zeta(Ar, m, w0, L):
nu = 0
summ = 0
laser_module = np.abs(Ar)
phi_envelop = np.array(np.arctan2(Ar.imag, Ar.real))
# unwrap phi_envelop
Expand Down

0 comments on commit 25630be

Please sign in to comment.