FEM_stimulation.compute_vext

FEM_stimulation.compute_vext(time_index)

Compute the external potential on a array of coordinate for a time sample of all synchronised stimuli with all electrodes.

Parameters:

time_index (int) – time index of the synchronised stimuli to compute the field at. NB: as a safeguard, if the time_index is out of the sample list a null potential is returned

Returns:

Vext – external potential for the specified positions, in mV (numpy array)

Return type:

np.array