biophysics_fittinghaydefault_setupinterpolate_vt

interpolate_vt

biophysics_fitting.hay.default_setup.interpolate_vt(voltage_trace_)

Interpolate a voltage trace so that is has fixed time interval

The NEURON simulator allows for a variable time step, which can make comparing voltage traces difficult. This function interpolates the voltage traces so that they have a fixed time interval of 0.025 ms.

Parameters:

voltage_trace_ (dict) – A dictionary of voltage traces.

Returns:

A dictionary of voltage traces with a fixed time interval.

Return type:

dict