Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
- MT units not fully correct (previous bug fix not complete!)
- deblank issue in RFsens
  • Loading branch information
EvelyneBalteau committed Aug 1, 2018
1 parent 1c30d80 commit 83e5a68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hmri_create_MTProt.m
Original file line number Diff line number Diff line change
Expand Up @@ -1542,7 +1542,7 @@ function PDcalculation(fA, fTPM, mpm_params)
mpm_params.qMT = coutput;
mpm_params.output(coutput).suffix = 'MT';
mpm_params.output(coutput).descrip{1} = 'MT saturation map [p.u.]';
mpm_params.output(coutput).units = 'a.u.';
mpm_params.output(coutput).units = 'p.u.';
switch B1transcorr{1}
case 'no_B1_correction'
mpm_params.output(coutput).descrip{end+1} = '- no B1+ bias correction applied';
Expand Down
4 changes: 2 additions & 2 deletions hmri_create_RFsens.m
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@
function coregsensfnam = coreg_sens_to_struct_images(strucfnam, sensfnam, calcpath, tag)
clear matlabbatch
for i = 1:size(sensfnam,1)
matlabbatch{1}.spm.spatial.coreg.estwrite.ref = {strucfnam(1,:)};
matlabbatch{1}.spm.spatial.coreg.estwrite.source = {sensfnam(i,:)};
matlabbatch{1}.spm.spatial.coreg.estwrite.ref = {deblank(strucfnam(1,:))};
matlabbatch{1}.spm.spatial.coreg.estwrite.source = {deblank(sensfnam(i,:))};
matlabbatch{1}.spm.spatial.coreg.estwrite.eoptions.cost_fun = 'nmi';
matlabbatch{1}.spm.spatial.coreg.estwrite.roptions.prefix = sprintf('r%s_',tag);
matlabbatch{1}.spm.spatial.coreg.estwrite.other = {''};
Expand Down

0 comments on commit 83e5a68

Please sign in to comment.