Skip to content

Commit

Permalink
more explicit pixel size
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDoornbos committed Oct 3, 2024
1 parent 29382e8 commit 8e26819
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_microscope_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))

Expand Down Expand Up @@ -125,7 +125,7 @@ def test_slm_tilt():
img[signal_location] = 100
pixel_size = 400 * u.nm
wavelength = 750 * u.nm
src = Camera(StaticSource(img, pixel_size))
src = Camera(StaticSource(img, pixel_size= pixel_size))

slm = SLM(shape=(1000, 1000))

Expand Down Expand Up @@ -170,7 +170,7 @@ def test_microscope_wavefront_shaping(caplog):
signal_location = (250, 200)

img[signal_location] = 100
src = StaticSource(img, 400 * u.nm)
src = StaticSource(img, pixel_size= 400 * u.nm)

slm = SLM(shape=(1000, 1000))

Expand Down

0 comments on commit 8e26819

Please sign in to comment.