This repository is about the classification of local field potentials data across different laminar layers and spectral frequency bands for different task engagement conditions during a change detection task. https://d-ferro.github.io

Demetrio Ferro 4bea0526d2 Update 'Code/PowerSpectrum/get_power_spectra.ipynb' 2 meses atrás
Code 4bea0526d2 Update 'Code/PowerSpectrum/get_power_spectra.ipynb' 2 meses atrás
Figures 0d01de3bca Delete 'Figures/segmentation.jpg' 3 meses atrás
LICENSE 1bdd6954ae Update 'LICENSE' 4 meses atrás
README.md 35b20e3dc1 Update 'README.md' 3 meses atrás
datacite.yml 21a9c1bee8 Update 'datacite.yml' 3 meses atrás
versions.txt 3e41dfa7a6 Update 'versions.txt' 3 meses atrás

README.md

This repository implements classification of task engagement as "active" or "passive", based on the respective reward contingencies provided in the Visual Behavior task from Allen Brain Institute.

Image change detection task task_setup

Image credit: Allen Insitute for Brain Science. Brain Map Portal

In this task, mice are presented with multiple flashes of 8 possible full-screen images and are instructed to catch flashed image identity changes by licking to reward spouts. Successful detection of image changes within 0-750 ms correspond to receiving a fluid reward in the "active" version of the task, and no reward in the "passive" version of the task. This difference serves to implement two task engagement levels, which are used as classes to label laminar and spectral resolved data. In order to bring together temporal and cortical depth information, we first compute Current-Source-Density (CSD) using the purpose-specific Elephant library based on "KCSD1D" published methods [1,2].

Layer- and Frequency-specific task engagement img_segmentation

Conceptual sketch of Power Spectra and CSD discretization.

We discretize CSD profiles in bins for every cortical layer and the following times from stimulus onset: 0-50ms, 50-100 ms, 100-150 ms, 150-200 ms, 200-250 ms.

Following discretization, we apply Linear Discriminant Analysis (see /Code folder), and provide decoding accuracy results listed in the /Code/CSD_analysis.ipynb notebook file.

References

[1] Potworowski, J., Jakuczun, W., Łęski, S. & Wójcik, D. (2012) 'Kernel current source density method.' Neural Comput 24(2), 541-575.

[2] Pettersen, K. H., Devor, A., Ulbert, I., Dale, A. M. & Einevoll, G. T. (2006) 'Current-source density estimation based on inversion of electrostatic forward solution: effects of finite extent of neuronal activity and conductivity discontinuities.' J Neurosci Methods 154(1-2), 116-133.

Release notes

Data from Visual Behavior - Neuropixels. Images from Brain Map Portal, (c) Allen Institute for Brain Science.

License note for Visual Behavior Neuropixels data and Images.

The code is written in Python v3.8.18 and imports Allen SDK, please check versions for details.

datacite.yml
Title Layer and frequency-specific task engagement in primary visual cortex
Authors Ferro,Demetrio;Center for Brain and Cognition, Department of Information and Communication Technologies, Universitat Pompeu Fabra, Barcelona (Spain), 08003;;ORCID:0000-0003-4969-1415
Boncompte Carré,Pau;Center for Brain and Cognition, Department of Information and Communication Technologies, Universitat Pompeu Fabra, Barcelona (Spain), 08003
Moreno Bote,Rubén;Center for Brain and Cognition, Department of Information and Communication Technologies, Universitat Pompeu Fabra, Barcelona (Spain), 08003;;ORCID:0000-0003-0398-014X
Description This resource contains software for the analysis of local field potential signals recorded in primary visual cortex and publicly availabe by Allen Brain Insitute (Visual Behavior Neuropixels). The data are recorded by using multi-contact laminar probes, hence span through cortical depths, during image change detection task.
License Creative Commons Attribution-NonCommercial-ShareAlike-4.0 International (https://creativecommons.org/licenses/by-nc-sa/4.0/)
References Morrison, Christopher. Allen Institute - Visual Behavior - Neuropixels. DANDI Archive. [doi:10.48324/DANDI.000713/0.240702.1725] (IsSupplementTo)
Potworowski, J., Jakuczun, W., Łęski, S. & Wójcik, D. (2012) Kernel current source density method. Neural Comput 24(2), 541-575. [doi:10.1162/neco_a_00236] (IsSupplementTo)
Pettersen, K. H., Devor, A., Ulbert, I., Dale, A. M. & Einevoll, G. T. (2006) Current-source density estimation based on inversion of electrostatic forward solution: effects of finite extent of neuronal activity and conductivity discontinuities. J Neurosci Methods 154(1-2), 116-133. [doi:10.1016/j.jneumeth.2005.12.005] (IsSupplementTo)
Funding
Keywords Visual Neuroscience
Task Engagement
Laminar Layers
Resource Type Software