Skip to content

Commit a8e0ccc

Browse files
committed
Merge branch 'main' of github.com:openneuropet/PET2BIDS into fix-poetry-version
2 parents dec49ae + d98a4e0 commit a8e0ccc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

matlab/ecat2nii.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,12 @@
211211
Sca = Sca*MinImg/(-32768);
212212
end
213213

214-
% 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');
216-
fprintf(fid,'Scaling factor: %10e\n',Sca);
217-
x = mh.ecat_calibration_factor * Sca;
218-
fprintf(fid,'Scaling factor * ECAT Cal Factor: %10.10f\n',x);
219-
fclose(fid);
214+
% % 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');
216+
% fprintf(fid,'Scaling factor: %10e\n',Sca);
217+
% x = mh.ecat_calibration_factor * Sca;
218+
% fprintf(fid,'Scaling factor * ECAT Cal Factor: %10.10f\n',x);
219+
% fclose(fid);
220220
end
221221

222222
% save debugging step 8 - rescale to 16 bits

0 commit comments

Comments
 (0)