You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The phase attribute of the SLM is overwritten every time slm.write() is used. When phase_correct=True (default), the phase_correction (if not None) is added to this. However, if the user stores the phase with stored = slm.phase.copy() and tries to slm.write(stored), the phase_correction will effectively be applied twice and might lead to unexpected results. Perhaps the sorted phase should not include the phase_correction?
The text was updated successfully, but these errors were encountered:
The
phase
attribute of the SLM is overwritten every timeslm.write()
is used. Whenphase_correct=True
(default), thephase_correction
(if notNone
) is added to this. However, if the user stores the phase withstored = slm.phase.copy()
and tries toslm.write(stored)
, thephase_correction
will effectively be applied twice and might lead to unexpected results. Perhaps the sorted phase should not include thephase_correction
?The text was updated successfully, but these errors were encountered: