Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

README.md 1.2 KB

Code for Task Engagement Prediction from CSD profiles

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.

LFP/Stim_to_LFP.ipynb

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.

LFP/LFP_functions.py

This script contains several functions used in the notebooks (LFP data alignment, Energy Normalization, CSD estimation, etc.)

LFP/get_cortical_layers.ipynb

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.

CSD/get_CSD.ipynb

This notebook computes the Current Source Densities for all the LFP data

CSD/CSD_Analysis.ipynb

This notebook performs the data discretization and prepares it for task engagement prediction with Linear Discriminant Analysis.

PowerSpectrum/get_power_spectra.ipynb

The same as get_CSD.ipynb but for Power Spectrum

PowerSpectrum/Spectral_Analysis.ipynb

The same as CSD_Analysis.ipynb but from Power Spectrum