Skip to content

Commit ed0016f

Browse files
committed
tols
1 parent 6890923 commit ed0016f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/hisp/model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def B_stepsize(self, t: float) -> float:
228228
else:
229229
value = pulse.duration_no_waiting / 10
230230
else:
231-
value = pulse.duration_no_waiting / 1000 # usually /100
231+
value = pulse.duration_no_waiting / 100 # usually /100
232232
return periodic_step_function(
233233
relative_time,
234234
period_on=pulse.duration_no_waiting,
@@ -331,9 +331,9 @@ def make_custom_rtol(self, t: float) -> float:
331331
pulse = self.scenario.get_pulse(t)
332332
relative_time = t - self.scenario.get_time_start_current_pulse(t)
333333
if pulse.pulse_type == "GDC" or pulse.pulse_type == "ICWC":
334-
rtol = 1e-11 # 1e-12 for just glow scenario
334+
rtol = 1e-12 # 1e-12 for just glow scenario
335335
elif pulse.pulse_type == "BAKE":
336-
rtol = 1e-11 # 1e-15 for just glow scenario
336+
rtol = 1e-12 # 1e-15 for just glow scenario
337337
elif pulse.pulse_type == "FP" or pulse.pulse_type == "FP_D":
338338
# rtol = 1e-10
339339
if relative_time % pulse.total_duration > pulse.duration_no_waiting:
@@ -343,7 +343,7 @@ def make_custom_rtol(self, t: float) -> float:
343343
else:
344344
rtol = 1e-8 # 1e-6 or 1e-8 most recently
345345
elif pulse.pulse_type == "RISP":
346-
rtol = 1e-6 # usually 1e-7
346+
rtol = 1e-5 # usually 1e-7
347347
else:
348348
rtol = 1e-8 # usually 1e-10
349349
return rtol

0 commit comments

Comments
 (0)