Skip to main content

Library for analyzing MEA files.

Project description

This project is still in development.

CureQ

This is the repository of the CureQ consortium.
For more information about the CureQ project, visit https://cureq.nl/ This repository contains a library with functions for analyzing Microelectrode Array (MEA) experiments.
This repository is maintained by the Amsterdam University of Applied Sciences (AUMC).
This library can process both Multi Channel Systems and Axion Biosystems MEA data, although the latter will have to be converted to hdf5 format using our MATLAB script, which can be found in the repository. For more information about the analysis or how to use the library, check out the "CureQ MEA-analysis library User Guide.pdf" file.


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, like pip or conda.
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 

Install library with conda

Install the MEA analyzer with the following command when you are using Conda:

conda install CureQ::CureQ

More elaborate and simple installation instructions can be found in the user guide.


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 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.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 MEA 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:

Additionally a shortcut can be added to the start menu. In the command prompt, enter “cureq –add-to-start-menu”.

C:\Users>cureq --add-to-start-menu
Start Menu shortcut created at C:\Users \AppData\Roaming\Microsoft\Windows\Start Menu\Programs\CureQ\CureQ.lnk

The output should look likes this, and the shortcut should appear in your start menu. The shortcut can also be added to the taskbar by pressing “Pin to taskbar”.


Example visualisations

Spike detection

Spike detection

Single channel burst detection

Burst detection

Network burst detection

Network burst detection

Batch processing

Batch processing

Group comparison

Group comparison

Features over time

Boxplots

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

CureQ-1.2.10.tar.gz (138.9 kB view details)

Uploaded Source

Built Distribution

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

CureQ-1.2.10-py3-none-any.whl (140.1 kB view details)

Uploaded Python 3

File details

Details for the file CureQ-1.2.10.tar.gz.

File metadata

  • Download URL: CureQ-1.2.10.tar.gz
  • Upload date:
  • Size: 138.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for CureQ-1.2.10.tar.gz
Algorithm Hash digest
SHA256 a9921aad1b8e545a8f049722f891275a5475e8516baf1521639b668e850f6245
MD5 f371213a6aca0d52a216d0c2c6515250
BLAKE2b-256 fdf53d4d3356a6069b15a155ec072bec004187b32511ca9eeff3a8d0b91d8ed1

See more details on using hashes here.

File details

Details for the file CureQ-1.2.10-py3-none-any.whl.

File metadata

  • Download URL: CureQ-1.2.10-py3-none-any.whl
  • Upload date:
  • Size: 140.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for CureQ-1.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 c2ba25764bd2a9447968f21419c30331073ef7c3d8fbe0e2b5c4c5bbdd070379
MD5 a53175e16ab6174c2b476f9d41e9852f
BLAKE2b-256 703df5fd57fb75973b115c5ea93f3f01f0cbad48b952261803bbf6cd7f76d2a6

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