|
47 | 47 |
|
48 | 48 | opt.results(iRes).montage = setMontage(opt.results(iRes));
|
49 | 49 |
|
50 |
| -opt.results(iRes).sdConfig |
| 50 | +opt.results(iRes).sdConfig; |
51 | 51 |
|
52 | 52 | % we get the con image to extract data
|
53 | 53 | ffxDir = getFFXdir(subLabel, opt);
|
54 | 54 |
|
55 | 55 | maskImage = spm_select('FPList', ffxDir, '^.*_mask.nii$');
|
56 | 56 | bf = bids.File(spm_file(maskImage, 'filename'));
|
57 | 57 |
|
58 |
| - |
59 | 58 | %% Layers to put on the figure
|
60 | 59 | layers = sd_config_layers('init', {'truecolor', 'dual', 'contour'});
|
61 | 60 |
|
|
64 | 63 | layers(1) = setFields(layers(1), opt.results(iRes).sdConfig.layers{1}, overwrite);
|
65 | 64 |
|
66 | 65 | % layers(1).color.file = opt.results(iRes).montage.background{1};
|
67 |
| -% |
| 66 | +% |
68 | 67 | % hdr = spm_vol(layers(1).color.file);
|
69 | 68 | % [max_val, min_val] = slover('volmaxmin', hdr);
|
70 | 69 | % layers(1).color.range = [0 max_val];
|
71 | 70 |
|
72 |
| - |
73 | 71 | %% Layer 2: Dual-coded layer
|
74 | 72 | %
|
75 | 73 | % - contrast estimates color-coded;
|
|
85 | 83 | % layers(2).color.range = [-4 4];
|
86 | 84 | % layers(2).color.label = '\beta_{listening} - \beta_{baseline} (a.u.)';
|
87 | 85 |
|
88 |
| - |
89 | 86 | % - t-statistics opacity-coded
|
90 | 87 | spmTImage = spm_select('FPList', ffxDir, ['^spmT_' bf.entities.label '.nii$']);
|
91 | 88 | layers(2).opacity.file = spmTImage;
|
|
0 commit comments