Skip to content
Snippets Groups Projects
Commit d32aa4a4 authored by Laura Nervo's avatar Laura Nervo
Browse files

gtSymmetricReflections : removed unused variables and stored output values as before


Signed-off-by: default avatarLaura Nervo <laura.nervo@esrf.fr>
parent ec381d6e
No related branches found
No related tags found
No related merge requests found
...@@ -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
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