Skip to content

Commit dab5052

Browse files
committed
tols
1 parent 0110adb commit dab5052

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/hisp/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def B_stepsize(self, t: float) -> float:
217217
# the stepsize is 1/10 of the duration of the pulse
218218
if pulse.pulse_type == "FP":
219219
if relative_time_within_sub_pulse < pulse.duration_no_waiting:
220-
value = 0.01 # s # usually 0.01
220+
value = 0.0001 # s # usually 0.01
221221
else:
222222
value = pulse.duration_no_waiting / 10
223223
elif pulse.pulse_type == "BAKE":
@@ -341,7 +341,7 @@ def make_custom_rtol(self, t: float) -> float:
341341
elif pulse.pulse_type == "FP_D":
342342
rtol = 1e-9
343343
else:
344-
rtol = 1e-8 # 1e-6 or 1e-8 most recently
344+
rtol = 1e-12 # 1e-6 or 1e-8 most recently
345345
elif pulse.pulse_type == "RISP":
346346
rtol = 1e-7
347347
else:

0 commit comments

Comments
 (0)