Library for analyzing MEA files.
Project description
This project is still in development.
MEAlytics
This repository contains a python package for analyzing Microelectrode Array (MEA) experiments.
This repository is maintained by the Amsterdam University of Applied Sciences (AUAS).
MEAlytics offers high speed spike, burst and network burst detection followed by feature extraction.
For more information about the analysis or how to use the library, check out the MEAlytics Github pages.
Cureq
This tool was created for the CureQ consortium.
For more information about the CureQ project, visit https://cureq.nl/
Install the library
First, make sure you have installed a version of python on your machine, all python releases can be found here: https://www.python.org/downloads/
Secondly, make sure you have installed a package manager such as pip.
Next, open a terminal and navigate to your home folder.
Install library with pip
Install the MEA analyzer with the following command when you are using Pip:
pip install CureQ
More elaborate and simple installation instructions can be found in the user guide.
Please not that this project is still in development. Certain aspects of the package might change in the future.
Library usage
Now you can try the CureQ library functions in your Python environment.
Import the function you need, call this function and watch how the pipeline analyzes your MEA file!
Example for analyzing all MEA wells
from CureQ.mea import analyse_wells, get_default_parameters
fileadress='C:/mea_data/mea_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
Addionally, the CureQ mea library contains a graphical user interface that can be used to perform and the analysis.
The GUI is also used to inspect the raw MEA data and the analysis results. Example visualisations can be found below.
The GUI can be opened as follows:
Opening the GUI
from CureQ.GUI.mea_analysis_tool import MEA_GUI
if __name__=="__main__":
MEA_GUI()
Launch from command prompt
Additionally, he GUI can be launched from the command prompt. Simply open the command prompt, and enter “cureq”.
C:\Users>cureq
Successfully launched MEAlytics GUI
The output should look like this, and the GUI should appear on your screen.
Create shortcuts
This process can be simplified by creating shortcuts that in essence perform the same process. In the command prompt, enter “cureq –create-shortcut”.
C:\Users>cureq --create-shortcut
Desktop shortcut created at C:\Users\Desktop\CureQ.lnk
The output should look like this, and a shortcut should appear on your desktop:
MEAlytics functionality
Parameters
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.
MEA Analysis
MEAlytics is capable of using multiprocessing to make optimal use of all available resources, speeding up the analysis!
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.
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!
Network burst detection
Network burst detection is performed by looking for high activity periods on multiple channels.
Batch processing
Perform high-throughput analysis using the batch processing module!
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!
Group comparison
You can combine the outcome features of multiple experiments to compare the differences between two groups using the plotting module!
Compare two groups with each other and create visualisations for all features. Output is saved in pdf format.
Visualise the development of features over time by adding a prefix to your feature files!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cureq-1.2.15.tar.gz.
File metadata
- Download URL: cureq-1.2.15.tar.gz
- Upload date:
- Size: 106.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7bbf191449178efe1561b6bd25871183b4b469e8494d20be7454e27b1872d9d
|
|
| MD5 |
6fac305f7a67b316f32b744c9e894801
|
|
| BLAKE2b-256 |
449ef3194a23e4f89d31aba857420016711120a7ac84107420f90a6f8129c69d
|
File details
Details for the file CureQ-1.2.15-py3-none-any.whl.
File metadata
- Download URL: CureQ-1.2.15-py3-none-any.whl
- Upload date:
- Size: 191.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bbcadab67633dac27f779fc2424ce495b9f78e1c5f2c3c41458d480c856f7f1
|
|
| MD5 |
a45b027ca392b598413fe2f3e53bcf2d
|
|
| BLAKE2b-256 |
7743620737810516a6abe31cd3ccf62b8f20117a2e6ff84078a3d93bb518719e
|