From 7700c425626e8f99208285313aa51fdb5f3c24e1 Mon Sep 17 00:00:00 2001 From: joshedmundson Date: Mon, 13 Apr 2026 16:27:16 +0200 Subject: [PATCH] fix: modify the default DRT start time index from 1 to 2 to reflect the start of device relaxation --- pySIMsalabim/experiments/impedance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySIMsalabim/experiments/impedance.py b/pySIMsalabim/experiments/impedance.py index 5566d20..f592f0c 100644 --- a/pySIMsalabim/experiments/impedance.py +++ b/pySIMsalabim/experiments/impedance.py @@ -981,7 +981,7 @@ def run_impedance_simu(zimt_device_parameters, session_path, f_min, f_max, f_ste # This makes sure DRT analysis happens after the Heavyside Voltage step at index 0 set_start = ('startIndex' in DRT_commands_args.keys()) or ('startTime' in DRT_commands_args.keys()) if set_start is False: - DRT_commands_args['startIndex'] = '1' + DRT_commands_args['startIndex'] = '2' # Handle remaining keys in `cmd_pars_dict` and add them to the cmd_pars list cmd_pars.extend({'par': key, 'val': value} for key, value in cmd_pars_dict.items())