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
d32aa4a4
Commit
d32aa4a4
authored
11 years ago
by
Laura Nervo
Browse files
Options
Downloads
Patches
Plain Diff
gtSymmetricReflections : removed unused variables and stored output values as before
Signed-off-by:
Laura Nervo
<
laura.nervo@esrf.fr
>
parent
ec381d6e
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
zUtil_Cryst/gtSymmetricReflections.m
+10
-12
10 additions, 12 deletions
zUtil_Cryst/gtSymmetricReflections.m
with
10 additions
and
12 deletions
zUtil_Cryst/gtSymmetricReflections.m
+
10
−
12
View file @
d32aa4a4
...
@@ -55,13 +55,11 @@ if strcmpi(cryst.crystal_system,'hexagonal') && size(hkltypes_used,2)==3
...
@@ -55,13 +55,11 @@ if strcmpi(cryst.crystal_system,'hexagonal') && size(hkltypes_used,2)==3
hkltypes_used
(:,
3
)
=
-
hkltypes_used
(:,
1
)
-
hkltypes_used
(:,
2
);
hkltypes_used
(:,
3
)
=
-
hkltypes_used
(:,
1
)
-
hkltypes_used
(:,
2
);
end
end
hklsp
=
[];
hklsp
=
[];
hkl
=
[];
hkl
=
[];
thtype
=
[];
thtype
=
[];
dsp
=
[];
intensity
=
[];
twoth
=
[];
mult
=
[];
intensity
=
[];
mult
=
[];
% 4 columns needed for hexagonal
% 4 columns needed for hexagonal
for
ii
=
1
:
size
(
hkltypes_used
,
1
)
for
ii
=
1
:
size
(
hkltypes_used
,
1
)
...
@@ -80,11 +78,11 @@ theta = gtCrystTheta(dsp, energy);
...
@@ -80,11 +78,11 @@ theta = gtCrystTheta(dsp, energy);
% simpler output (should ditch the hashtable)
% simpler output (should ditch the hashtable)
results
.
hklsp
=
int16
(
hklsp
)
;
results
.
hklsp
=
hklsp
;
results
.
thetasp
=
single
(
theta
'
)
;
results
.
thetasp
=
theta
'
;
results
.
dspacingsp
=
single
(
dsp
'
)
;
results
.
dspacingsp
=
dsp
'
;
results
.
thetatypesp
=
int16
(
thtype
)
;
results
.
thetatypesp
=
thtype
;
results
.
intsp
=
intensity
;
results
.
intsp
=
intensity
;
results
.
mult
=
int16
(
mult
)
;
results
.
mult
=
mult
;
end
% end of function
end
% end of function
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