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

gtDetectorTwoTheta : fixed bug with vertcat


Signed-off-by: default avatarLaura Nervo <laura.nervo@esrf.fr>
parent 4cbcddfc
No related branches found
No related tags found
No related merge requests found
......@@ -68,8 +68,7 @@ minangle = parameters.labgeo.detanglemin;
maxangle = parameters.labgeo.detanglemax;
% remove reflections out of detector
ind = find(tt > maxangle/2); % ind contains reflections whichdo not impinge on the detector
ind = [ind; find(tt < minangle/2)];
ind = find(tt > maxangle/2 | tt < minangle/2);
% ...remove them
tt(ind) = [];
hkl(ind, :) = [];
......
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