Skip to content

Commit

Permalink
v1.1 050415
Browse files Browse the repository at this point in the history
first version shared with Janelia, with example data provided through
dropbox
  • Loading branch information
xiuyechen committed Jun 24, 2015
1 parent f41e809 commit cb29d46
Show file tree
Hide file tree
Showing 42 changed files with 6,383 additions and 275 deletions.
9 changes: 9 additions & 0 deletions BasicPlotMaps.m
Expand Up @@ -18,6 +18,15 @@ function BasicDrawClusters(h1,M,gIX,dataFR,numK,stim,fictive,clrmap,rankscore,is
barratio = 0.02;
numK = double(max(double(numK),double(max(gIX))));

% down-sample
displaymax = 1000;
numcell = size(M,1);
if numcell > displaymax,
skip = round(numcell/displaymax);
M = M(1:skip:end,:);
gIX = gIX(1:skip:end,:);
end

% sort traces by index
im = M;
[nLines,nFrames] = size(im);
Expand Down

0 comments on commit cb29d46

Please sign in to comment.