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]
Citations  Citation Browser
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 2 shows the compression for the position estimates 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.

figure('Position',[50 50 1000 800],'PaperPosition',[2 2 10 8]);
subplot(2,2,1); 
    plot(ConfA.PosEstByAng(:,1),ConfA.PosEstByAng(:,2),'-k'); 
    axis equal; axis([-75 75 -75 75]);
    xlabel('Horizontal Position (cm)','FontSize',LABEL_SIZE);
    ylabel('Vertical Position (cm)','FontSize',LABEL_SIZE);
    title(sprintf('%s\n%s','Moving Feature System','Configuration A'),...
          'FontSize',LABEL_SIZE);
    set(gca,'FontSize',LABEL_SIZE);
subplot(2,2,3);
    plot(ConfA.PosEstByVel(:,1),ConfA.PosEstByVel(:,2),'-k'); 
    axis equal; axis([-75 75 -75 75]);
    xlabel('Horizontal Position (cm)','FontSize',LABEL_SIZE);
    ylabel('Vertical Position (cm)','FontSize',LABEL_SIZE);
    title(sprintf('%s\n%s','Static Feature System','Configuration A'),...
        'FontSize',LABEL_SIZE);
    set(gca,'FontSize',LABEL_SIZE);
subplot(2,2,2); 
    plot(ConfB.PosEstByAng(:,1),ConfB.PosEstByAng(:,2),'-k'); 
    axis equal; axis([-75 75 -75 75]);
    xlabel('Horizontal Position (cm)','FontSize',LABEL_SIZE);
    ylabel('Vertical Position (cm)','FontSize',LABEL_SIZE);
    title(sprintf('%s\n%s','Moving Feature System','Configuration B'),...
        'FontSize',LABEL_SIZE);
    set(gca,'FontSize',LABEL_SIZE);
subplot(2,2,4);
    plot(ConfB.PosEstByVel(:,1),ConfB.PosEstByVel(:,2),'-k'); 
    axis equal; axis([-75 75 -75 75]);
    xlabel('Horizontal Position (cm)','FontSize',LABEL_SIZE);
    ylabel('Vertical Position (cm)','FontSize',LABEL_SIZE);
    title(sprintf('%s\n%s','Static Feature System','Configuration B'),...
        'FontSize',LABEL_SIZE);
    set(gca,'FontSize',LABEL_SIZE);
print('-depsc','Fig2');