Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
frankNiessen committed Jun 4, 2021
1 parent 04eb2d2 commit 144a99c
Show file tree
Hide file tree
Showing 4 changed files with 5,014 additions and 50,015 deletions.
3 changes: 0 additions & 3 deletions ORTools_example4.m
Expand Up @@ -45,9 +45,6 @@
screenPrint('SegmentStart','Finding the orientation relationship(s)');
% Choose Beta as a parent and Alpha as a child phase in the transition
job = parentGrainReconstructor(ebsd,grains,Ini.cifPath);
% Use the peak fitter in the pop-up menu
% - Adjust the threshold to include only the largest peak
% - Compute the OR by "Maximum f(g)"
job.p2c = orientation.Burgers(job.csParent, job.csChild);
% Check the disorientation
plotHist_OR_misfit(job);
Expand Down
14 changes: 8 additions & 6 deletions ORTools_example5.m
Expand Up @@ -80,13 +80,15 @@

% Let us check the disorientation of alphaP child-child boundaries and
% compare OR 1 with K-S and N-W
plotHist_OR_misfit(job{1},[orientation.KurdjumovSachs(job{1}.csParent,job{1}.csChild), ...
orientation.NishiyamaWassermann(job{1}.csParent,job{1}.csChild)],...
'legend',{'K-S','N-W'});
plotHist_OR_misfit(job{1},...
[orientation.KurdjumovSachs(job{1}.csParent,job{1}.csChild), ...
orientation.NishiyamaWassermann(job{1}.csParent,job{1}.csChild)],...
'legend',{'K-S','N-W'});
% compare OR 2 with K-S and N-W
plotHist_OR_misfit(job{2},[orientation.KurdjumovSachs(job{2}.csParent,job{2}.csChild), ...
orientation.NishiyamaWassermann(job{2}.csParent,job{2}.csChild)],...
'legend',{'K-S','N-W'});
plotHist_OR_misfit(job{2},...
[orientation.KurdjumovSachs(job{2}.csParent,job{2}.csChild), ...
orientation.NishiyamaWassermann(job{2}.csParent,job{2}.csChild)],...
'legend',{'K-S','N-W'});

%% Plot the inverse pole figure
% Plot inverse pole figures for parent-child and child-child boundary
Expand Down
10 changes: 5 additions & 5 deletions ORTools_example6.m
Expand Up @@ -54,10 +54,9 @@
%% Define and check the OR EPSILON - ALPHA
% We define the Burgers OR between Epsilon and AlphaP
job1.p2c = orientation.Burgers(job1.csParent,job1.csChild);
plotHist_OR_misfit(job1);

job1.calcParent2Child('p2c');
plotHist_OR_misfit(job1);
plotHist_OR_misfit(job1,orientation.Burgers(job1.csParent,job1.csChild),...
'legend',{'Burgers OR'});
%% Check the fit with the OR locally
% Plot parent-child and child-child OR boundary disorientation map
% We color the boundaries up to 5° disorientation to emphasize the effects
Expand All @@ -81,9 +80,10 @@
job2 = setParentGrainReconstructor(job1.ebsd,job1.grains,Ini.cifPath);
% We define the Shoji Nishiyama OR between Gamma and Epsilon
job2.p2c = orientation.ShojiNishiyama(job2.csParent,job2.csChild);
plotHist_OR_misfit(job2);
job2.calcParent2Child('p2c');
plotHist_OR_misfit(job2);
plotHist_OR_misfit(job2,...
orientation.ShojiNishiyama(job2.csParent,job2.csChild),...
'legend',{'ShojiNishiyama'});
%% Check the fit with the OR locally
% Plot parent-child and child-child OR boundary disorientation map
% We color the boundaries up to 5° disorientation to emphasize the effects
Expand Down

0 comments on commit 144a99c

Please sign in to comment.