Published December 1, 2021 | Version v4
Software Open

Code for 'Geometry of Sequence Working Memory in Macaque Prefrontal Cortex'

Authors/Creators

Description

Refer to Science article:

Xie, Hu et al. Geometry of Sequence Working Memory in Macaque Prefrontal Cortex. 2022

Data used in the code is available at Zenodo

Feel free to open a issue if you have any question.

Calcium image processing

Based on CAIMAN

Preprocess-demo: select stable data from continuous recording on a trial-by-trial basis

Pipeline-demo: a semi-automatic source extraction pipeline using CNMF

Decoding analysis

decode-items: parallel training for leave-one-trial/sequence-out decoding

decoding1: analyze the leave-one-trial-out decoding result

decoding2: training decoder for cross-length and error trial decoding

State space analysis

Please add all files in this folder and its subfolder into path before run the 'main.m'.

The variable foldername in the main.m file should be adjusted to fit user's local path.

Files

yaopeihu/Sequence-working-memory-v2.zip

Files (21.3 MB)

Name Size Download all
md5:b071eb17a79cb126b47361333e79651b
21.3 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/yaopeihu/Sequence-working-memory/tree/v2 (URL)
Journal article: 10.1126/science.abm0204 (Handle)