Skip to content

Commit

Permalink
Fix FourierDualReference
Browse files Browse the repository at this point in the history
  • Loading branch information
dedean16 committed Oct 3, 2024
1 parent b8219c0 commit d7b8d41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openwfs/algorithms/basic_fourier.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,14 @@ def __init__(
self.k_step = k_step
self._slm_shape = slm_shape
group_mask = np.zeros(slm_shape, dtype=bool)
group_mask[:, slm_shape[1] // 2 :] = True
group_mask[:, slm_shape[1] // 2:] = True
super().__init__(
feedback=feedback,
slm=slm,
phase_patterns=None,
group_mask=group_mask,
phase_steps=phase_steps,
amplitude='uniform',
iterations=iterations,
optimized_reference=optimized_reference,
analyzer=analyzer,
Expand Down

0 comments on commit d7b8d41

Please sign in to comment.