Private Repo to share addiction project code for analysis pipeline development
Function: The main analysis script for ERP analysis. (Written by Manny)
Input: OEP recording session. Can also take in simulated data created by gen_sig.py for validation
Output: Averaged event data from an OEP recording in matplotlib plot. Subplots are created for each channel of interest.
Function: Takes parameters given by user to analyze frequency-specific Power around "events" in Open Ephys data
NOTE: Formerly "amplitude_longitudinal_analysis.py"
Input: 1) OEP Recording with 6 Phase Calculators tuned to Gamma Band "Amplitude" (Online Power). 2) gen_sig.py to generate simulated signal 3) LFP data to calculate Offline Power
Output: Heatmap showing amplitude² (Power), averaging every second (30k samples). Power spectral analysis. Some other tools included.
Input: Parameters.
Output: Mimics OEP data and can be plugged into Manny's code for validation, among other things.
Function: Drives OEP recordings of set length and records to specified location. Used in this context to compare online and offline PC Magnitude calculations.
Input: OEP data
Output: Histogram of Power Data
Function: Runs through OEP data, iteratively decides on a threshold, and then tests that on a longer stretch of data. To start this was 5 minutes to set threshold, 15 minutes to test threshold.
Function: Tests either gamma distribution or power distribution to step threshold up or down to reach an average of 1 stimulation per second.