Picoscope setup: picoscope_pulsedelay.pssettings Requirements for running the python scripts: pyzmq, pyserial, pandas, matplotlib Scripts in data_scripts/scripts: Setup A: Arduino sink - needs no additional scripts Setup B: OE + ZMQIf + OPETH stub for digital input delays: 4_oeevent supplementary measurement scripts for ZMQ and UART latency are in 1_zmqlatency 2_uart_loopback_A-PC-A 3_uart_loopback_PC-A-PC .ino files are to be uploaded by Arduino IDE to an Arduino uno Setup C and D: analog data - 5_oedata same .ino file as for 4_oeevent Setup D only: For Intan headstage, threshold should be manually adjusted Intan measurements were performed on a different PC with less capable picoscope, using a matlab script for streaming the measurement data. 5-oe-intan-All_104_Delays.mat was manually converted to 5-oe_intan.csv. Generating data plots: python procpico.py [title] (title is optional, used if filename is not in dictionary)