Skip to content

Commit

Permalink
Major revision
Browse files Browse the repository at this point in the history
  • Loading branch information
Giansimone committed Feb 12, 2021
1 parent ad605e5 commit d023d1f
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 28 deletions.
Binary file modified Computational_Analysis/Cycling/Figures/SFIG4b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Computational_Analysis/Cycling/Figures/SFIG4d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Computational_Analysis/Cycling/Figures/SFIG4f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Computational_Analysis/Cycling/Figures/SFIG4h.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 1 addition & 14 deletions Computational_Analysis/Cycling/make_SFIG4.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
0.9882 0.5529 0.3843;
0.5529 0.6275 0.7961];

cMap_R = cMap; % Colormap for R

%% Process the data to generate the SFIG4
for q = 1:numel(exp_list)
Expand Down Expand Up @@ -81,18 +80,6 @@
matr_Rad(:,q) = radMEAN;


%% Assess the significance of R through Psi
tmp_Psi = Psi(1,tim_indx);
tmp_Psi = tmp_Psi(~isnan(tmp_Psi)); % Check if Psi contains NaN
Psi_R = abs(1./numel(tmp_Psi).*sum(exp(1i*tmp_Psi)));
V = 1 - Psi_R; % Circular variance V

if V < .5

cMap_R(q,:) = cMap(q,:)+.2;

end

%% Compute the PSD
data_trMean = matr_trMean(tim_indx,q);

Expand Down Expand Up @@ -140,7 +127,7 @@
hold on;
tmp_b = bar(cat_VarNames, R_mean.');
tmp_b.FaceColor = 'Flat';
tmp_b.CData = cMap_R;
tmp_b.CData = cMap;
ylabel('R');
print(F_SFIG4b_, './Figures/SFIG4b', '-dpng')

Expand Down
Binary file modified Computational_Analysis/NonCycling/Figures/SuppFig4_a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Computational_Analysis/NonCycling/Figures/SuppFig4_c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Computational_Analysis/NonCycling/Figures/SuppFig4_e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Computational_Analysis/NonCycling/Figures/SuppFig4_f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 2 additions & 14 deletions Computational_Analysis/NonCycling/make_SuppFig4.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% make_SuppFig4.m
%%% FEBRUARY 11, 2021
%%% FEBRUARY 12, 2021

clear all

Expand Down Expand Up @@ -61,7 +61,6 @@
0.9882 0.5529 0.3843;
0.5529 0.6275 0.7961];

cMap_R = cMap; % Colormap for R

%% Process the data to generate the Supp. Fig. 4
for q = 1:numel(exp_list)
Expand Down Expand Up @@ -97,17 +96,6 @@
matr_trMean(:,q) = MeanFluo;
matr_Rad(:,q) = radMEAN;

%% Assess the significance of R through Psi
tmp_Psi = Psi(tim_indx,1);
tmp_Psi = tmp_Psi(~isnan(tmp_Psi)); % Check if Psi contains NaN
Psi_R = abs(1./numel(tmp_Psi).*sum(exp(1i*tmp_Psi)));
V = 1 - Psi_R; % Circular variance V

if V < .5

cMap_R(q,:) = cMap(q,:)+.2;

end

%% Compute the PSD
data_trMean = matr_trMean(tim_indx,q);
Expand Down Expand Up @@ -154,7 +142,7 @@
hold on;
tmp_b = bar(cat_VarNames, R_mean.');
tmp_b.FaceColor = 'Flat';
tmp_b.CData = cMap_R;
tmp_b.CData = cMap;
ylabel('R');
print(F_SFIG4a_, './Figures/SuppFig4_a', '-dpng')

Expand Down

0 comments on commit d023d1f

Please sign in to comment.