Skip to content

Commit

Permalink
Update analysis_laser_STC.py
Browse files Browse the repository at this point in the history
  • Loading branch information
huixingjian authored Feb 18, 2025
1 parent 91f0be3 commit 6edcf83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/laser_STC/analysis_laser_STC.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
Phi2,phi2 = get_phi2(laser.dim, laser.grid)
[beta_x, beta_y] = get_beta(laser.dim, laser.grid, k0)
[zeta_x, zeta_y], [nu_x, nu_y] = get_zeta(laser.dim, laser.grid, k0)
assert ((phi2-2.4e-24)/2.4e-24<0.01), 'Test phi2 did not pass'

assert ((phi2-2.4e-24)/2.4e-24<0.01), 'Test phi2 did not pass'
assert ((zeta_y-2.4e-22)/2.4e-22<0.01), 'Test zeta did not pass'
assert ((beta_y-3e-18)/3e-18<0.01), 'Test zeta did not pass'

0 comments on commit 6edcf83

Please sign in to comment.