Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DCT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
graintracking
DCT
Commits
04de4fe6
Commit
04de4fe6
authored
10 months ago
by
Zheheng Liu
Browse files
Options
Downloads
Patches
Plain Diff
Add comment for the fix of attenuation.
Signed-off-by:
Zheheng Liu
<
zheheng.liu@esrf.fr
>
parent
25c12850
Branches
Some-additional-functions-from-Zheheng
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
4_grains/gtGrainComputeBeamAttenuation.m
+2
-1
2 additions, 1 deletion
4_grains/gtGrainComputeBeamAttenuation.m
with
2 additions
and
1 deletion
4_grains/gtGrainComputeBeamAttenuation.m
+
2
−
1
View file @
04de4fe6
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment