Virtual MEA measurements in Python (ViMEAPy) is a Python toolbox for calculating the extracellular potential arising from a known current source distribution, in the in vitro slice setting, where a thin slice of neural tissue is immersed in saline on top of a Micro Electrode Array (MEA). For this experimental set-up, calculating the extracellular potentials arising from a known distribution of current sources is a non-trivial problem because of the heterogeneous conductivity of the system. We provide here a Python toolbox that facilitates such modelling by use of the Method of Images.

For specific details, validations, and usage, please go to the article "Modelling and Analysis of Electrical Potentials Recorded in Microelectrode Arrays (MEAs)" which is available here:

For an example usage, run the main file.


          SALINE -> sigma_S = [sigma_Sx, sigma_Sy, sigma_Sz]

<----------------------------------------------------> z = + h

          TISSUE -> sigma_T = [sigma_Tx, sigma_Ty, sigma_Tz]

               o -> charge_pos = [x',y',z']

<-----------*----------------------------------------> z = 0
             \-> elec_pos = [x,y,z]

             ELECTRODE -> sigma_G = [sigma_Gx, sigma_Gy, sigma_Gz]