COMSOL_model.get_potentials

COMSOL_model.get_potentials(x, y, z)[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

  • Returns

  • --------

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