Skip to content

Commit

Permalink
Update test_STC.py
Browse files Browse the repository at this point in the history
  • Loading branch information
huixingjian authored Dec 19, 2024
1 parent d4200f4 commit 8175dfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_STC.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@
[beta_x, beta_y] = get_beta(laser_3d.dim, laser_3d.grid, 2.0 * np.pi / 0.6e-6)

assert (err_real + err_imag) < 1e-6
np.testing.assert_approx_equal(phi2_3d, 2.4e-24, significant=2)
np.testing.assert_approx_equal(zeta_y, 2.4e-22, significant=2)
np.testing.assert_approx_equal(beta_y, 3e-18, significant=2)
np.testing.assert_approx_equal(phi2_3d, phi2, significant=2)
np.testing.assert_approx_equal(zeta_y, zeta, significant=2)
np.testing.assert_approx_equal(beta_y, beta, significant=2)

0 comments on commit 8175dfc

Please sign in to comment.