EAG_SPy: An Automated Python Toolkit for Electroantennogram (EAG) and Sensillar Potential (SP) Analysis Overview EAG_SPy is a scientific software tool for automated analysis of sensillar potentials (SP) recorded in .abf files. It computes kinetic, amplitude-based, and derivative-based parameters of sensory responses and generates numerical outputs and publication-ready figures. The software is designed for: - robust analysis under noisy experimental conditions - non-technical end users - direct execution from a standalone .exe (no Python installation required) System Requirements - Operating system: Windows - Input data: one or more files with extension .abf - No Python, libraries, or additional software required How to Use 1. Copy all .abf files you want to analyze into the EAG_SPy_v1_0_0.dist folder before running the program. 2. Do not move the .exe out of its distribution folder. Program folder Structure: EAG_SPy_v1_0_0.dist/ │ ├─ EAG_SPy_v1_0_0.exe ├─ recording_01.abf ├─ recording_02.abf ├─ recording_03.abf ├─ *.dll └─ *.pyd 3. Double-click EAG_SPy_v1_0_0.exe. 4. The program will prompt you to enter: - Gaussian low-pass filter cutoff frequency - Analysis time interval (Important: the start time (in seconds) of the analysis interval must match the onset of the olfactory stimulus to ensure accurate latency calculations. - Time points t1 and t2 for voltage evaluation 5. The analysis runs automatically. 6. Results and figures are saved automatically in the same folder. 7. When finished, the console window remains open. Press Enter to exit Output Files Numerical results sp_results.csv sp_results.txt Each row corresponds to one sweep and includes: absolute SP minimum ΔSP (latency-based amplitude) latency duration area under the curve (AUC) rise and decay half-times linear regression slopes (50% and 80%) minimum derivative (dV/dt) temporal offsets between kinetic markers Automatically generated folders: sp_figures/ Per-sweep figures showing: raw and filtered signals latency point SP minimum regression lines fitted_curves/ .txt files containing fitted regression curves derivative_curves/ dV/dt curves (numerical data) derivative_figures/ Figures of voltage derivatives histogram_figures/ Summary histograms of key parameters Error Handling: If an unexpected error occurs: - a message “Unexpected error occurred” is displayed - the full traceback is printed - the console window remains open - press Enter to exit This allows users to read and report errors easily. Notes - Sweeps without a valid response are kept in the output with NaN values - The program does not stop due to individual invalid sweeps - The analysis is robust to: baseline drift electrical noise mechanical artifacts Usage Recommendations - Place only the .abf files to be analyzed in the executable folder - Inspect generated figures for quality control Software Information Short Name: EAG_SPy Type: scientific electrophysiology analysis tool Distribution: standalone executable License: according to academic distribution terms DOI: automatically embedded in exported result files