Skip to main content

Please note that this project is still in development.

MEAlytics

MEAlytics is an open-source Python tool for processing Microelectrode Array (MEA) data.
This repository is maintained by the Amsterdam University of Applied Sciences (AUAS).

Demo

https://github.com/user-attachments/assets/c8183761-5aa5-45fa-985a-2332cf8d5415

For more information on functionality and usage, please refer to the documentation

CureQ

This tool was created for the CureQ consortium.
For more information about the CureQ project, visit https://cureq.nl/.


Install the library

MEAlytics can be downloaded from the Python Package Index (PyPI) using PIP:

pip install MEAlytics 

More elaborate installation instructions, inlcuding a 'plug-and-play' installer can be found in the User Guide.


Library usage

MEAlytics' functions can be called from a regular Python script, this might be useful to automate processing large datasets.

from MEAlytics.mea import analyse_wells, get_default_parameters

fileadress='/path/to/your/experiment.h5'
sampling_rate=20000
electrode_amount=12

# Get and edit parameters
parameters = get_default_parameters()
parameters['use multiprocessing'] = True

if __name__ == '__main__':
    analyse_wells(fileadress=fileadress,
                  sampling_rate=sampling_rate,
                  electrode_amnt=electrode_amount,
                  parameters=parameters
                  )

MEA GUI

However, the main way that MEAlytics is meant to be used, is with the Graphical User Interface (GUI).
The GUI can be used to initialize the analysis, but also contains other features such as interactive data visualization and plotting.

Opening the GUI

There are multiple ways to launch the GUI:

Opening from Python script

from MEAlytics.GUI.mea_analysis_tool import MEA_GUI

if __name__=="__main__":
    MEA_GUI()

Launching from command prompt

C:\Users>mealytics

or

C:\Users>python -m MEAlytics

Create shortcuts

This process can be simplified by creating shortcuts that in essence perform the same process. In the command prompt, enter “mealytics –create-shortcut”.

C:\Users>MEAlytics --create-shortcut
Desktop shortcut created at C:\Users\Desktop\MEAlytics.lnk

The output should look like this, and a shortcut should appear on your desktop and start menu.

From the installer

When you have installed MEAlytics using the Windows installer, you can open it the same as you would with any application, using the desktop or start menu.


MEAlytics functionality

This section showcases the basic functionality of MEAlytics, for more information, refer to the documentation.

File Analysis

MEAlytics allows for easy batch processing of files.
Optionally, MEAlytics optionally utilizes multiprocessing to significantly speed up the analysis when resources are available!

Spike detection

After performing the analysis, the user can inspect the results using the GUI!
The user can alter all parameters regarding spike, burst and network burst detection and immediately apply these changes to see how they alter the analysis. This allows you to quickly see the effect of parameter changes, without having to redo the entire analysis.

Spike detection

Additonally, the user can zoom in on the data to view the smaller timeframes.

Single channel burst detection

Burst detection is performed using the logISI method, meaning that the thresholds adapt to the input data!

Burst detection

Network burst detection

Network burst detection is performed by looking for high activity bursting periods on multiple channels.

Network burst detection

Features

MEAlytics calculates over 40 descriptive well and electrode features and saves them in a csv file. These can then be read by other applications such as excel.

Features

Group comparison

The resulting features of multiple experiments can be combined to compare the differences between two groups using the plotting module.

Group comparison

Compare two groups with each other and create visualisations for all features. Output is saved in pdf format.

Boxplots

Visualise the development of features over time by simply adding a prefix to your feature files.

Features over time

Parameters

Lastly, MEAlytics offers a wide range of parameters that can be used to alter the analysis! However, all parameters have default values that are backed by literature.

Parameters

Metadata

Release files for MEAlytics 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MEAlytics 0.1.1
File Size Uploaded
mealytics-0.1.1.tar.gz 132.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for MEAlytics 0.1.1
File Interpreter ABI Platform
mealytics-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 280.6 kB

Release files / mealytics-0.1.1.tar.gz

Download URL mealytics-0.1.1.tar.gz
Size 132.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a491cd2b65be7d78e2ced8f12f8508954e9cfc35734127545252c72f508666ec
BLAKE2b-256 checksum
How to use checksums
f588d5f4fd16c72e292f8d2c758a15b63bdaad44b5f233aa486a08f72f871b5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.14

Release files / mealytics-0.1.1-py3-none-any.whl

Download URL mealytics-0.1.1-py3-none-any.whl
Size 148.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5beffc84eec7379840f7c365de555ac46adf10fc3fc4508ee17c42e529b0c1fe
BLAKE2b-256 checksum
How to use checksums
c5e75d3a29aad5c9036b72d5b4527a96ce3cf5be2116fb9f37e4c9f61343d540
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.14

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page