# Episodic ABF analysis

## Description
A tool for batch analysis of episodic electrophysiology data, written with Matlab 2024a's App Designer. 
Includes the basic analysis operations 'mean', 'amplitude', 'rise/decay slope' and 'area under the curve' (AUC).
The tool focuses primarily on analysis of abf2 files, but also supports certain LabChart txt files and [Eventer](http://doi.org/10.5281/zenodo.3991676) "ephysIO binary (.phy)" files . Using the included converter, csv, tsv, txt and tab files can be converted to the LabChart txt file format. This allows e.g. to analyze calcium imaging experiments.
See the [manual](https://gitlab.uni-bonn.de/mrabenst/episodic-abf-analysis/-/blob/main/Episodic_ABF_analysis_manual_v6.pdf?ref_type=heads) for more information.

## Installation
Matlab 2024a+ installed: Copy the files in the repository, excluding the 'Standalone release' folder to your system and start the tool with 'Episodic_ABF_analysis.mlapp'
Otherwise, download the 'Episodic_ABF_analysis_MyAppInstaller_web.exe' in the 'Standalone release' folder and follow the installation procedure. Note that a compatible [MATLAB Runtime](https://mathworks.com/products/compiler/matlab-runtime.html) version is necessary to start the app. It will be downloaded during the installation process.

## Authors and acknowledgment
Cite this tool as: 
Rabenstein, Michael, 2024, "Episodic ABF analysis", https://doi.org/10.60507/FK2/LBX1UB, bonndata, V2

Uses the abfload function (Forrest Collman (2023). fcollman/abfload (https://github.com/fcollman/abfload), GitHub. Retrieved July 1, 2023.)

## License
Episodic ABF analysis + CSV Converter Episodic ABF analysis are licensed under the BSD 3-Clause License.

## Changes
V1 -> V2: Code of the .mlapp files provided as .m files (ASCII text files). No changes to the software code.

## Project status
Ongoing on request. Feel free to fork and develop the tool further.
