Skip to content

Commit e0ed0dc

Browse files
committed
revert forcing the matlab offset search space
1 parent 397324f commit e0ed0dc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/aspire/abinitio/commonline_base.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,11 @@ def __init__(
8888
if str(full_width).lower() == "adaptive":
8989
full_width = -1
9090
self.full_width = int(full_width)
91-
self.max_shift = (
92-
15 # match MATLAB workflow for now math.ceil(max_shift * self.n_res)
93-
)
91+
self.max_shift = math.ceil(max_shift * self.n_res)
9492
self.shift_step = shift_step
9593
self.offsets_max_shift = self.max_shift
9694
if offsets_max_shift is not None:
97-
self.offsets_max_shift = (
98-
15 # match MATLAB workflow math.ceil(offsets_max_shift * self.n_res)
99-
)
95+
self.offsets_max_shift = math.ceil(offsets_max_shift * self.n_res)
10096
self.offsets_shift_step = offsets_shift_step or self.shift_step
10197
self.offsets_equations_factor = offsets_equations_factor
10298
self.offsets_max_memory = int(offsets_max_memory)

0 commit comments

Comments
 (0)