Skip to content

Commit 7a76fd2

Browse files
committed
defocus search range should only be a float not a tuple
1 parent 6576095 commit 7a76fd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • operators/quantem-direct-ptycho

operators/quantem-direct-ptycho/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def quantem_direct_ptycho(
214214
opt_aberration_coefs = {}
215215
if initial_defocus_A is None:
216216
opt_aberration_coefs["C10"] = OptimizationParameter(
217-
defocus_search_range_A[0], defocus_search_range_A[1]
217+
defocus_search_range_A, defocus_search_range_A
218218
)
219219
else:
220220
opt_aberration_coefs["C10"] = -initial_defocus_A

0 commit comments

Comments
 (0)