Skip to content

Commit

Permalink
Update test_laser_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerjolly authored Jan 15, 2024
1 parent b6f32e6 commit 8717ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_laser_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def test_laser_analysis_utils():
omega, freq_sc_rms = get_frequency(laser_sc.grid, dim)
omega0 = 2 * np.pi * c / laser_sc.wavelength
# Expected central frequency, using the frequency gradient (Eq. 4 from Gu et al., Opt. Comm., 2004)
freq_sc_expected = omega0 + laser_sc.b / (
freq_sc_expected = omega0 + laser_sc.w0 * laser_sc.b / (
laser_sc.b**2 + (laser_sc.tau * laser_sc.w0 / 2) ** 2
)
# np.testing.assert_approx_equal(freq_sc_rms, freq_sc_expected, significant=3)
Expand Down

0 comments on commit 8717ea8

Please sign in to comment.