diff --git a/tests/test_focus_estimator.py b/tests/test_focus_estimator.py index eb7cf2b..c3cca07 100644 --- a/tests/test_focus_estimator.py +++ b/tests/test_focus_estimator.py @@ -39,7 +39,7 @@ def test_focus_estimator(tmp_path): plot_path = tmp_path.joinpath("test.pdf") data3D = np.random.random((11, 256, 256)) slice = focus.focus_from_transverse_band( - data3D, ps, lambda_ill, NA_det, plot_path=str(plot_path) + data3D, NA_det, lambda_ill, ps, plot_path=str(plot_path) ) assert slice >= 0 assert slice <= data3D.shape[0] @@ -75,9 +75,9 @@ def test_focus_estimator_snr(tmp_path): plot_path = tmp_path / f"test-{snr}.pdf" slice = focus.focus_from_transverse_band( data, - ps, - lambda_ill, NA_det, + lambda_ill, + ps, plot_path=plot_path, threshold_FWHM=5, )