diff --git a/tests/test_algorithms_troubleshoot.py b/tests/test_algorithms_troubleshoot.py index 0732cbf..a5b157c 100644 --- a/tests/test_algorithms_troubleshoot.py +++ b/tests/test_algorithms_troubleshoot.py @@ -341,7 +341,7 @@ def test_measure_modulated_light_dual_phase_stepping_with_noise( # Aberration and image source img = np.zeros((64, 64), dtype=np.int16) img[32, 32] = 100 - src = StaticSource(img, 200 * u.nm) + src = StaticSource(img, pixel_size= 200 * u.nm) # SLM, simulation, camera, ROI detector slm = SLM( diff --git a/tests/test_simulation.py b/tests/test_simulation.py index 5ae8443..ecf903e 100644 --- a/tests/test_simulation.py +++ b/tests/test_simulation.py @@ -20,7 +20,7 @@ def test_mock_camera_and_single_roi(): """ img = np.zeros((1000, 1000), dtype=np.int16) img[200, 300] = 39.39 # some random float - src = Camera(StaticSource(img, 450 * u.nm)) + src = Camera(StaticSource(img, pixel_size= 450 * u.nm)) roi_detector = SingleRoi( src, pos=(200, 300), radius=0 ) # Only measure that specific point @@ -38,7 +38,7 @@ def test_microscope_without_magnification(shape): # construct input image img = np.zeros(shape, dtype=np.int16) img[256, 256] = 100 - src = Camera(StaticSource(img, 400 * u.nm)) + src = Camera(StaticSource(img, pixel_size= 400 * u.nm)) # construct microscope sim = Microscope( @@ -84,7 +84,7 @@ def test_slm_and_aberration(): """ img = np.zeros((1000, 1000), dtype=np.int16) img[256, 256] = 100 - src = Camera(StaticSource(img, 400 * u.nm)) + src = Camera(StaticSource(img, pixel_size= 400 * u.nm)) slm = SLM(shape=(512, 512))