This project analyzes MEA (Multi-Electrode Array) recordings to extract, process, and visualize network properties from neural data. The workflow includes extracting data from H5 files (writed by: OraWetzler), building graphs, drawing visualizations, saving graph metrics, and performing analysis.
Project/
├── src/
│ ├── __init__.py
│ ├── Analysis.py
│ ├── data.py
│ ├── ElectrodeFeatureExtract.py
│ ├── ExtractH5Files.py
│ ├── GraphBuilder.py
│ ├── GraphDrawer.py
│ ├── GraphMetrics.py
│ ├── GraphMetricsSaver.py
│ ├── HelperServices.py
│ ├── MEAFeatureExtract.py
│ ├── SpikesData.py
├── MEA recordings/
├── graphs/
├── output/
├── analysis_out/
└── ...
git clone https://github.com/MeitarTeper/Practikum_project.git
cd Practikum_projectpython -m venv .venv
# On Windows:
.venv\Scripts\activate
# On macOS/Linux:
source .venv/bin/activatepip install -r requirements.txtIf requirements.txt is missing, install the main dependencies manually:
pip install numpy pandas networkx matplotlib McsPyRun the following scripts in order:
- ExtractH5Files.py
Extracts data from MEA H5 recordings and saves as CSV or other formats.python src/ExtractH5Files.py
- data.py
Processes the extracted data for further analysis.python src/data.py
- GraphBuilder.py
Builds network graphs from the processed data.python src/GraphBuilder.py
- GraphDrawer.py
Draws and saves visualizations of the graphs.python src/GraphDrawer.py
- GraphMetricsSaver.py
Calculates and saves graph metrics.python src/GraphMetricsSaver.py
- Analysis.py
Performs final analysis and generates summary outputs.python src/Analysis.py
- Place your zip files in the main folder (not unser src) before starting.
- Output files and plots will be saved in the
MEA recordings,output/,graphs/, andanalysis_out/directories. - Adjust script parameters as needed for your dataset.