Grid cell model with compression effects (Raudies & Hasselmo, 2015)

 Download zip file 
Help downloading and running models
Accession:194881
We present a model for compression of grid cell firing in modules to changes in barrier location.
Reference:
1 . Raudies F, Hasselmo ME (2015) Differences in Visual-Spatial Input May Underlie Different Compression Properties of Firing Fields for Grid Cell Modules in Medial Entorhinal Cortex. PLoS Comput Biol 11:e1004596 [PubMed]
Model Information (Click on a link to find other models with that property)
Model Type:
Brain Region(s)/Organism: Entorhinal cortex;
Cell Type(s):
Channel(s):
Gap Junctions:
Receptor(s):
Gene(s):
Transmitter(s):
Simulation Environment: MATLAB;
Model Concept(s): Grid cell;
Implementer(s): Raudies, Florian [florian.raudies at gmail.com];
/
RaudiesHasselmo2015
DotWorld
screenshots
README.html
attractorModel.m
errorarea.m
estimatePosition.m
estimateVelocity.m
Fig2.m
Fig3.m
Fig4.m
FigS1.m
FigS3.m
gpl-3.0.txt *
gridScoreForActivity.m
gridScoreForSpikes.m
ModuleModel.m
randomTrajectory.m
rescaleCorr.m
SimConfA.m
SimConfA.mat
SimConfB.m
SimConfB.mat
SimNoiseWithBias.m
SimNoiseWoutBias.m
TestEstimatePosition.m
vcoModel.m
                            
clc; clear all; close all;
% *************************************************************************
% Fig 3 shows the compression for the grid cell firing patterns of the 
% static feautre system in configuration B compared to configuration A.
% To update the data run SimConfA.m and SimConfB.m.
%
%   Copyright (C) 2015  Florian Raudies, 05/02/2015, Palo Alto, CA.
%   License, GNU GPL, free software, without any warranty.
% *************************************************************************

ConfA       = load('SimConfA'); % Load the simulation data.
ConfB       = load('SimConfB');
LABEL_SIZE  = 16;               % Font size for the labels in points.
opt.scale   = 2/3;              % Scale factor for 100% compression.

figure('Position',[50 50 1200 900]);
subplot(2,3,1);
    imagesc(ConfA.SpikeRateVelVCO); axis equal tight off;
    title(sprintf('%s\n%s','Moving Feature System',...
        sprintf('Configuration A, GS %2.2f',ConfA.gsVelVCO)),...
        'FontSize',LABEL_SIZE);
subplot(2,3,2);
    imagesc(ConfB.SpikeRateVelVCO); axis equal tight off;
    title(sprintf('%s\n%s','Moving Feature System',...
        sprintf('Configuration B, GS %2.2f',ConfB.gsVelVCO)),...
        'FontSize',LABEL_SIZE);
subplot(2,3,3);
    [CorrCoeff Stretch] = rescaleCorr(...
        ConfA.SpikeRateVelVCO,ConfB.SpikeRateVelVCO,opt);
    Stretch = Stretch*100;
    [mv mi] = max(CorrCoeff);
    plot(Stretch,CorrCoeff,'.k',[Stretch(mi) Stretch(mi)],[0 mv],'-r',...
        'LineWidth',2.0);
    xlabel('Rescaling (%)','FontSize',LABEL_SIZE);
    ylabel('Correlation r2','FontSize',LABEL_SIZE);
    axis square; axis([Stretch(1) Stretch(end) 0 1]);
    set(gca,'FontSize',LABEL_SIZE);
    title('Moving Feature System','FontSize',LABEL_SIZE);
subplot(2,3,4);
    imagesc(ConfA.SpikeRateAngVCO); axis equal tight off;
    title(sprintf('%s\n%s','Static Feature System',...
        sprintf('Configuration A, GS %2.2f',ConfA.gsAngVCO)),...
        'FontSize',LABEL_SIZE);
subplot(2,3,5);
    imagesc(ConfB.SpikeRateAngVCO); axis equal tight off;
    title(sprintf('%s\n%s','Static Feature System',...
        sprintf('Configuration B, GS %2.2f',ConfB.gsAngVCO)),...
        'FontSize',LABEL_SIZE);
subplot(2,3,6);
    [CorrCoeff Stretch] = rescaleCorr(...
        ConfA.SpikeRateAngVCO,ConfB.SpikeRateAngVCO,opt);
    Stretch = Stretch*100;
    [mv mi] = max(CorrCoeff);
    plot(Stretch,CorrCoeff,'.k',[Stretch(mi) Stretch(mi)],[0 mv],'-r',...
        'LineWidth',2.0);
    xlabel('Rescaling (%)','FontSize',LABEL_SIZE);
    ylabel('Correlation r2','FontSize',LABEL_SIZE);
    axis square; axis([Stretch(1) Stretch(end) 0 1]);
    set(gca,'FontSize',LABEL_SIZE);
    title('Static Feature System','FontSize',LABEL_SIZE);
print('-depsc','Fig3');

Loading data, please wait...