The scripts gathered here have the purpose to import, pre-process, extract event features and plot relevant results for the analysis of electrophisiological field recordings in Zebra fish larvae, as presented in our article.

Example input data (.abf files) is located in the folders named by each session, in the Data sub-folder; We provided one Mismatch dataset (Session 12, Recording 14d16002) and one DEPDC5 KD (Session 15, Recording 14d19003).

To process the data (extract events and features), run the abf_processor.m script file in order to obtain processed data in the folders named by each session:

<recording name>_raw contains the raw trace
<recording name>_filt contains the ANALYSIS and DETECTION traces
<recording name>_peaks contains the extracted events and their features

To visualize results (plots described in our article), run the plot_JoVE.m script file. This will generate 5 figures describing the two datasets:

The overview of the dataset
Zoom in sections for baseline, first period after PTZ application and second period after PTZ application
PSTH of the two datasets, with the high amplitude and low amplitude events labelled in colours.