Skip to content
Snippets Groups Projects
Commit 04de4fe6 authored by Zheheng Liu's avatar Zheheng Liu
Browse files

Add comment for the fix of attenuation.


Signed-off-by: default avatarZheheng Liu <zheheng.liu@esrf.fr>
parent 25c12850
No related tags found
No related merge requests found
......@@ -119,7 +119,8 @@ function [atts_tot, atts, abs_vol] = gtGrainComputeBeamAttenuation(gr, p, det_in
end
end
% Might need better scaling, for meaningful attenuation!! (0.1 -> mm to cm)
% It assumes the values to be in "[pixel size] ^ -1" instead of the
% classic "[cm] ^ -1"
atts_tot = sum(atts, 2);
atts_tot = exp(-atts_tot);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment