FENICS_model.get_potentials

FENICS_model.get_potentials(x, y, z, E=-1)[source]

Get the potential on a line to get extracellular potential for axons stimulation.

Parameters:
  • x (np.array) – array of x coordinates in the model

  • y (float) – y-coordinate of the axon

  • z (float) – z-coordinate of the axon

  • E (int) – ID of the electrode from witch the potentials should be evaluated

  • Returns

  • --------

  • array – All potential for all paramtric sweeps (all electrodes in NRV2 models) (line: electrode selection, column: potential)