This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# small bash script to create a dummy BIDS data set to test the MP2RAGE JSON file naming | |
# defines where the BIDS data set will be created | |
StartDir=`pwd` # relative to starting directory | |
echo $StartDir/../../../BIDS/7t_mp2rage/ | |
StartDir=$StartDir/../../../BIDS/7t_mp2rage/ | |
mkdir $StartDir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G = figure('color', [.5 .5 .5], 'Units', 'Normalized', 'Position', [0.5, 0.4, 0.06, 0.35]); | |
CM = colormap; | |
% x represents the range in alpha (e.g abs(t-stats)) | |
x = linspace(1, 1000, 256); | |
% y represents the range in hue (e.g power) | |
y = linspace(1, 1000, 1000); | |
[X,Y] = meshgrid(x,y); % Transform into a 2D matrix |
NewerOlder