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
06aac2e9
Commit
06aac2e9
authored
8 years ago
by
Nicola Vigano
Committed by
Nicola Vigano
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Omega prediction: do not compute stuff that is not emitted
Signed-off-by:
Nicola Vigano
<
vigano@yoda.esrf.fr
>
parent
36deb818
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
7_fed2/gtFedPredictOmegaMultiple.m
+13
-11
13 additions, 11 deletions
7_fed2/gtFedPredictOmegaMultiple.m
with
13 additions
and
11 deletions
7_fed2/gtFedPredictOmegaMultiple.m
+
13
−
11
View file @
06aac2e9
...
...
@@ -115,20 +115,22 @@ if (~isempty(omind))
% ROTATION MATRICES AND PLANE NORMALS IN LAB
% Get rotation matrix and multpily the input plane normals to get
% them in the diffracting position
rot
=
gtMathsRotationTensor
(
om
,
rotcomp
);
if
(
nargout
>
1
)
% Get rotation matrix and multiply the input plane normals to get
% them in the diffracting position
rot
=
gtMathsRotationTensor
(
om
,
rotcomp
);
% expand for multiplication
plt
=
reshape
(
pl
,
1
,
3
,
[]);
plt
=
plt
([
1
1
1
],
:,
:);
% expand for multiplication
plt
=
reshape
(
pl
,
1
,
3
,
[]);
plt
=
plt
([
1
1
1
],
:,
:);
plrot
=
rot
.*
plt
;
plrot
=
sum
(
plrot
,
2
);
plrot
=
reshape
(
plrot
,
3
,
[]);
plrot
=
rot
.*
plt
;
plrot
=
sum
(
plrot
,
2
);
plrot
=
reshape
(
plrot
,
3
,
[]);
plrot
=
ss3
.*
plrot
;
plsigned
=
ss3
.*
pl
;
plrot
=
ss3
.*
plrot
;
plsigned
=
ss3
.*
pl
;
end
else
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% All four omega indices
...
...
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