The following files contain the code used for CSD estimation from the LFPs from Allen Brain Observatory and the task engagement prediction using Linear Discriminant Analysis.
This notebook contains the first steps for Allen data obtention. It saves the desired sessions and the LFPs, and aligns them to the novel stimuli presentations.
This notebook upgrades the channel dataframes from the previous notebook by adding the labels on Cortical Layers using the Common Coordinates Framework from Allen Brain Map.
This notebook computes the Current Source Densities for all the LFP data
Finally, this notbook performs the data discretization and prepares it for task engagement prediction with LDA
This script contains several functions used in the notebooks (LFP data alignment, Energy Normalization, CSD estimation, etc.)