Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.68 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.68 KB

mTDRdemo

Self-contained code to demonstrate how to use mTDR. An analysis framework for of trial-structured neural population data using a combination of regression and dimensionality reduction.

This MATLAB code is a reference implementation for the analyses found in Aoi, Mante, and Pillow 2020.

Downloading the repository

Example Script

Open mTDRdemo.m to see how we estimate the parameters and the number of dimensions by AIC. demoLearning.m is a more step-by-step view of the functions used for parameter learning when the number of dimensions have been specified.

Simple Overview

Suppose we record spike responses from a single neuron during a complex behavioral experiment, and would like to know what aspects of the stimulus or behavior are encoded in the neural response. This code package allows us to discover such dependencies using Poisson GLM regression.

Consider a simple example in which a neuron encodes two experimental variables: the time at which a visual target appears, and the motion strength of a moving-dots stimulus. The regressors are the time at which the targets appear, and the time, duration, and strength ("coherence") of the moving dots on each trial.

Reference