Skip to content

Commit 9a99d91

Browse files
authored
rescaling factor no longer written to .txt file
Commented two lines so that ecat2nii no longer tries to write rescaling factor to .txt file
1 parent 83a807a commit 9a99d91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

matlab/ecat2nii.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,11 @@
212212
end
213213

214214
% save scaling factor to file located at ecat_save_steps_dir/8.5_sca_matlab.txt
215-
fid = fopen([ecat_save_steps_dir filesep '8.5_sca_matlab.txt'],'w');
215+
% fid = fopen([ecat_save_steps_dir filesep '8.5_sca_matlab.txt'],'w');
216216
fprintf(fid,'Scaling factor: %10e\n',Sca);
217217
x = mh.ecat_calibration_factor * Sca;
218218
fprintf(fid,'Scaling factor * ECAT Cal Factor: %10.10f\n',x);
219-
fclose(fid);
219+
% fclose(fid);
220220
end
221221

222222
% save debugging step 8 - rescale to 16 bits

0 commit comments

Comments
 (0)