Skip to content

Commit

Permalink
new options noSymmetry in phi2 sections
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfHielscher committed Nov 10, 2017
1 parent fb0c959 commit c7dad9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plotting/ODFSections/phi2Sections.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@
function [S2Pos,secPos] = project(oS,ori,varargin)

% maybe this can be done more efficiently
ori = ori.symmetrise('proper').';
if ~check_option(varargin,'noSymmetry')
ori = ori.symmetrise('proper').';
end
[phi1,Phi,phi2] = Euler(ori,'Bunge'); %#ok<*PROPLC>

secPos = oS.secList(mod(phi2,oS.maxphi2),oS.phi2);
Expand Down

0 comments on commit c7dad9d

Please sign in to comment.