5.4. MEA: Microelectrode Array Processing¶
Note
User Guide for MEA to explain each function and steps is in progress. For now, please check the APIs: API Reference - MEA , which has the most detailed explanantion as documentation of all the functions.
Also, check example code and try them with online - Binder with one click, to explore the functionalities with an example file - Examples: Micro-Electrode-Array (MEA)
Check examples here: Micro-Electrode-Array (MEA)

#TODO
Micro-Electrode Arrays System utilies an array of electrodes mounted on a small plate as a grid electrodes (e.g. 60) evenly spaced (700mm apart). It is used to analyse the eletrophysiology of cells/tissues under different clinical conditions by stimulating with certain voltage on a regular intervals. As shown in figure below, a plate of MEA system of 60 electrodes (source: https://www.multichannelsystems.com/products/meas-60-electrodes). One of the commonly used research field is the cardiac electrophysiology.

This python library analyse the recorded signal file, by extracting the electrograms (EGMs) from signal recoding of each eletrodes, and extracting the features of each EGM.
#TODO

5.4.1. Complete Analysis of a recording¶
#TODO
One of the simple function to provide complete analysis of recorded file is to use `spkit.mea.analyse_mea_file`
function.
This uses the default settings of all the paramters for extracting electrograms, identifying bad eletrodes, extracting features and plotting figures.
`spkit.mea.analyse_mea_file`
needs two essential inputs, `files_name`
: a full path of recoding file in ‘.h5’ format and `stim_fhz`
frequency of stimulus in Hz.
An example with minimal settings can be found here
An example with minimal settings<auto_examples/multielectrode-array/plot_mea_minimal_setting_example.html>

import spkit as sp
Features_df,Features_ch,Features_mat, Data = sp.mea.analyse_mea_file(files_name,stim_fhz=1)

5.4.2. Step-wise Analysis¶
#TODO
There are 13 steps to analyse a recording file, which are as follow
Read HDF File
Stim loc
Align Cycles
Average Cycles/Select one
Activation Time
Activation & Repolarisation Time
APD
Extract EGM
EGM Feature Extraction
BAD Channels
Feature Matrix
Interpolation
Conduction Velocity
5.4.3. 1. Read HDF File¶
#TODO
5.4.4. 2. Stim Localisation¶
#TODO
5.4.5. 3. Alignment of Stim Cycles¶
#TODO
5.4.6. 4. Averaging Cycles or Selecting one¶
#TODO
5.4.7. 5. Activation Time¶
#TODO
5.4.8. 6. Repolarisation Time (optional)¶
#TODO
5.4.9. 7. APD (if RT is computed)¶
#TODO
apd_ms = rt_loc_ms-at_loc_ms
5.4.10. 8. Extracting EGM¶
#TODO
5.4.11. 9. EGM Feature Extraction¶
#TODO
5.4.12. 10. Identifying BAD Channels/electrodes¶
#TODO
5.4.13. 11. Creating Feature Matrix¶
#TODO
5.4.14. 12. Interpolation¶
#TODO
5.4.15. 13. Conduction Velocity¶
#TODO
5.4.16. Plots and Figures¶
#TODO
5.4.17. Extracting EGM¶

5.4.18. EGM Processing & Feature Extractions¶

5.4.19. Conduction and Activation Map¶

