Skip to content

Commit 79d75a1

Browse files
author
Joseph G. Shuttleworth
committed
Change returned values in detect_ramp_bounds
1 parent ce3105c commit 79d75a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pcpostprocess/detect_ramp_bounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ def detect_ramp_bounds(times, voltage_sections, ramp_index=0):
2222

2323
tstart, tend = ramp[:2]
2424

25-
ramp_bounds = [np.argmax(times > tstart), np.argmax(times > tend)]
25+
ramp_bounds = [np.argmax(times >= tstart), np.argmax(times >= tend)]
2626
return ramp_bounds
2727

0 commit comments

Comments
 (0)