Skip to content

Commit

Permalink
[FIX 🐊] new bb moments
Browse files Browse the repository at this point in the history
  • Loading branch information
saratheriver committed Oct 20, 2022
1 parent 6ea0eae commit 50f86d1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
Binary file modified enigmatoolbox/__pycache__/_version.cpython-37.pyc
Binary file not shown.
Binary file modified enigmatoolbox/__pycache__/_version.cpython-38.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion matlab/scripts/histology/bb_gradient_plot.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function bb_gradient_plot(data, varargin)
in = p.Results;

% Load gradient
g = dlmread(['bb_gradient_' parcellation '.csv']);
g = dlmread(['bb_gradient_' in.parcellation '.csv']);

% Define number of bins
numbin = 5;
Expand Down
3 changes: 3 additions & 0 deletions matlab/scripts/histology/bb_moments_raincloud.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ function bb_moments_raincloud(region_idx, parcellation, title)

% Load BigBrain statistical moments (mean, skewness)
bb_moments = dlmread(['bb_moments_' parcellation '.csv']);
bb_moments = bb_moments([2 4], :);
bb_moments(1,:) = rescale(bb_moments(1,:), -1, 1);
bb_moments(2,:) = rescale(bb_moments(2,:), -1, 1);

% Moments colors
spec = [158,1,66; 102,194,165]/255;
Expand Down
4 changes: 2 additions & 2 deletions matlab/scripts/surface_viewer/plot_cortical.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@
set(dcm_obj, 'UpdateFcn', @SurfStatDataCursor, 'DisplayStyle', 'window');

%% set colorbar range
colorbar_range(in.color_range)
colorbar_range(in.color_range);

%% set colormaps
enigma_colormap(in.cmap)
enigma_colormap(in.cmap);

return
end
4 changes: 2 additions & 2 deletions matlab/scripts/surface_viewer/plot_subcortical.m
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@
set(dcm_obj,'UpdateFcn',@SurfStatDataCursor,'DisplayStyle','window');

%% set colorbar range
colorbar_range(in.color_range)
colorbar_range(in.color_range);

%% set colormaps
enigma_colormap(in.cmap)
enigma_colormap(in.cmap);

return
end

0 comments on commit 50f86d1

Please sign in to comment.