Skip to main content

Python tool for processing MEA files.

Project description

Please not 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).

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.

Multiprocessing

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

Batch processing

Perform high-throughput analysis using the batch processing module!

Batch processing

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mealytics-0.1.0.tar.gz (119.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mealytics-0.1.0-py3-none-any.whl (131.4 kB view details)

Uploaded Python 3

File details

Details for the file mealytics-0.1.0.tar.gz.

File metadata

  • Download URL: mealytics-0.1.0.tar.gz
  • Upload date:
  • Size: 119.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for mealytics-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3b8eb3981fc8d33e1836aa07ccad7d182a8ebccc534cbf7f0616d492d6b34eaa
MD5 0dc6fde69f552fa2cde49aa127b6984c
BLAKE2b-256 9f814c553ea91f3c40b23823425ac6acb3aa5e6a29a87541f95841350ce1f219

See more details on using hashes here.

File details

Details for the file mealytics-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mealytics-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 131.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for mealytics-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70645d68e0f66a66cb2b369c256277ac93a443aace3a6c2a0813f20638074bec
MD5 bcdd8cbe43144f5541b5efa945838586
BLAKE2b-256 3781e2d08832f9e5c716e7ce7f78413fc6b00f1ba063f454a92ccf84807d26c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page