Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MPIBR-vollrathf committed Aug 11, 2016
1 parent 19bcf07 commit d14b044
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
dt = 0.1;

figure(2)
CellsortICAplot('series', ica_filters, ica_sig, movm, tlims, dt, [], [], [1:20]);
CellsortICAplot('series', ica_filters, ica_sig, movm, tlims, dt, [], [], [1:size(ica_segments,1)]);

%% 4a. Segment contiguous regions within ICs
%search for indepent segments, you have to adjust these values well:
Expand Down Expand Up @@ -94,7 +94,7 @@
%% Show results
%optionally, plot signals
figure(2)
CellsortICAplot('series', ica_filters, ica_sig, movm, tlims, dt, 1, 2, [1:20], spt, spc);
CellsortICAplot('series', ica_filters, ica_sig, movm, tlims, dt, 1, 2, [1:size(ica_segments,1)], spt, spc);
%% show signal of cells (cell_sig)
%caluclate correlation matrix for cell_sig
[ica_segments, cluster, subPlotCols, subPlotWidth, sortedIdx] = calcCorrEff(cell_sig, ica_segments);
Expand All @@ -121,4 +121,4 @@
subPlotCols = size(cluster_new, 2);

%redraw
alternativePlot(ica_segments, cluster_new, cell_sig, subPlotCols, sortedIdx, data_r);
alternativePlot(ica_segments, cluster_new, cell_sig, subPlotCols, sortedIdx, data_r);

0 comments on commit d14b044

Please sign in to comment.