Skip to content

Commit 48dbbe4

Browse files
committed
5.5.2
1 parent be7f6cb commit 48dbbe4

File tree

117 files changed

+1067
-258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+1067
-258
lines changed
839 KB
Loading

images/SelectingGrains_16.png

27.8 KB
Loading

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ scientists, geologists and mathematicians.
1313

1414
### News
1515
* MTEX Online Workshop 2021: ・ [Announcement](https://github.com/mtex-toolbox/mtex/discussions/519#discussioncomment-139964)[Homepage](http://www-user.tu-chemnitz.de/~rahi/mtexWorkshop21)
16-
* MTEX 5.5.1 released: ・ [Download](https://github.com/mtex-toolbox/mtex/releases/download/mtex-5.5.1/mtex-5.5.1.zip)[Release Notes](changelog.html)[Installation](download)
16+
* MTEX 5.5.2 released: ・ [Download](https://github.com/mtex-toolbox/mtex/releases/download/mtex-5.5.2/mtex-5.5.2.zip)[Release Notes](changelog.html)[Installation](download)
1717
* MTEX GUI 2.4 by J. Hiscocks released: ・ [Download](https://www.researchgate.net/profile/Jessica_Hiscocks/publication/341722714_MTEX_GUI_3pt4-_An_updated_graphical_interface_for_MTEX/data/5ed1b00e299bf1c67d274ede/MTEX-GUI-3pt4.zip)[Announcment](https://www.researchgate.net/publication/341722714_MTEX_GUI_3pt4-_An_updated_graphical_interface_for_MTEX)
1818
* New paper: [Gazing at crystal balls - electron backscatter diffraction indexing and cross correlation on the sphere](https://www-user.tu-chemnitz.de/~rahi/paper/gazingAtCrystalBalls.pdf)
1919
* New paper: [Denoising of Crystal Orientation Maps](https://www-user.tu-chemnitz.de/~rahi/paper/denoising.pdf)

pages/companies/Infineon.png

71.9 KB
Loading

pages/companies/dillinger.png

35.4 KB
Loading

pages/companies/mtu.png

16 KB
Loading

pages/companies/pic/Infineon.png

8.68 KB
Loading

pages/companies/pic/dillinger.png

8.44 KB
Loading

pages/companies/pic/mtu.png

7.35 KB
Loading

pages/companies/pic/salzgitter.png

17 KB
Loading

pages/companies/pic/vw.png

6.09 KB
Loading

pages/companies/salzgitter.png

5.75 KB
Loading

pages/companies/vw.png

148 KB
Loading
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
---
2+
title: Cluster demo
3+
last_updated: 11-Dec-2020
4+
sidebar: documentation_sidebar
5+
permalink: ClusterDemo.html
6+
folder: documentation
7+
toc: false
8+
---
9+
<html><head>
10+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
11+
<!--
12+
This HTML was auto-generated from MATLAB code.
13+
To make changes, update the MATLAB code and republish this document.
14+
--><title>Cluster demo</title><meta name="generator" content="MATLAB 9.10"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2020-12-11"><meta name="DC.source" content="script_ClusterDemo.m"></head><body><font size="2"><a href="https://github.com/mtex-toolbox/mtex/blob/develop/doc/GeneralConcepts/ClusterDemo.m">
15+
edit page</a></font><div><!--introduction--><!--/introduction-->
16+
{% highlight matlab %}
17+
cs = crystalSymmetry('432');
18+
odf = unimodalODF(orientation.rand(2,cs),'halfwidth',5*degree)
19+
20+
21+
ori = odf.discreteSample(10000)
22+
23+
r = ori * Miller(1,0,0,odf.CS)
24+
25+
%scatter(r)
26+
{% endhighlight %}
27+
28+
{% highlight plaintext %}
29+
odf = ODF
30+
crystal symmetry : 432
31+
32+
Radially symmetric portion:
33+
kernel: de la Vallee Poussin, halfwidth 5°
34+
center: Rotations: 2 x 1
35+
weight: 1
36+
37+
38+
ori = orientation
39+
size: 10000 x 1
40+
crystal symmetry : 432
41+
42+
r = vector3d
43+
size: 10000 x 1
44+
{% endhighlight %}
45+
46+
{% highlight matlab %}
47+
[cId,center] = calcCluster(r,'numCluster',12);
48+
49+
plotCluster(r,cId)
50+
51+
annotate(center,'add2all')
52+
{% endhighlight %}
53+
<center>
54+
{% include inline_image.html file="ClusterDemo_01.png" %}
55+
</center>
56+
{% highlight matlab %}
57+
r.antipodal = true
58+
59+
[cId,center] = calcCluster(r,'numCluster',6);
60+
61+
plotCluster(r,cId)
62+
63+
annotate(center,'add2all')
64+
{% endhighlight %}
65+
66+
{% highlight plaintext %}
67+
r = vector3d
68+
size: 10000 x 1
69+
antipodal: true
70+
{% endhighlight %}
71+
<center>
72+
{% include inline_image.html file="ClusterDemo_02.png" %}
73+
</center>
74+
{% highlight matlab %}
75+
h = ori \ vector3d(1,2,0);
76+
77+
[cId,center] = calcCluster(h,'numCluster',2);
78+
79+
plotCluster(h.project2FundamentalRegion,cId,'fundamentalSector')
80+
81+
annotate(center,'add2all')
82+
{% endhighlight %}
83+
<center>
84+
{% include inline_image.html file="ClusterDemo_03.png" %}
85+
</center>
86+
{% highlight matlab %}
87+
[cId,center] = calcCluster(ori,'numCluster',2,'method','hierarchical');
88+
89+
plotCluster(r,cId)
90+
91+
annotate(center * Miller(1,0,0,ori.CS),'add2all')
92+
{% endhighlight %}
93+
<center>
94+
{% include inline_image.html file="ClusterDemo_04.png" %}
95+
</center>
96+
{% highlight matlab %}
97+
[cId,center] = calcCluster(ori,'numCluster',2,'method','odf');
98+
99+
plotCluster(r,cId)
100+
101+
annotate(center * Miller(1,0,0,ori.CS),'add2all')
102+
{% endhighlight %}
103+
104+
{% highlight plaintext %}
105+
...
106+
{% endhighlight %}
107+
<center>
108+
{% include inline_image.html file="ClusterDemo_05.png" %}
109+
</center>
110+
{% highlight matlab %}
111+
% compute the full distance matrix
112+
d = angle_outer(r,r);
113+
d(d<0.01) = 0;
114+
%d = d(triu(true(size(d)),1));
115+
d = squareform(d);
116+
117+
118+
% use the statistic toolbox
119+
z = linkage(d,'single');
120+
121+
%cId = cluster(z,'cutoff',30*degree);
122+
cId = cluster(z,'maxclust',12);
123+
124+
plotCluster(r,cId)
125+
{% endhighlight %}
126+
127+
{% highlight matlab %}
128+
function plotCluster(r,cId,varargin)
129+
130+
scatter(r(cId==1),'MarkerFaceColor',ind2color(1),varargin{:})
131+
hold on
132+
for i = 2:max(cId)
133+
scatter(r(cId==i),'add2all','MarkerFaceColor',ind2color(i),varargin{:})
134+
end
135+
hold off
136+
end
137+
{% endhighlight %}
138+
</div></body></html>

pages/documentation_matlab/CrystalDirections.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Miller Indices
3-
last_updated: 08-Dec-2020
3+
last_updated: 11-Dec-2020
44
sidebar: documentation_sidebar
55
permalink: CrystalDirections.html
66
folder: documentation
@@ -11,7 +11,7 @@
1111
<!--
1212
This HTML was auto-generated from MATLAB code.
1313
To make changes, update the MATLAB code and republish this document.
14-
--><title>Miller Indices</title><meta name="generator" content="MATLAB 9.9"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2020-12-08"><meta name="DC.source" content="script_CrystalDirections.m"></head><body><font size="2"><a href="https://github.com/mtex-toolbox/mtex/blob/develop/doc/CrystalGeometry/CrystalDirections.m">
14+
--><title>Miller Indices</title><meta name="generator" content="MATLAB 9.10"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2020-12-11"><meta name="DC.source" content="script_CrystalDirections.m"></head><body><font size="2"><a href="https://github.com/mtex-toolbox/mtex/blob/develop/doc/CrystalGeometry/CrystalDirections.m">
1515
edit page</a></font><div><!--introduction--><p>Miller indices are used to describe directions with respect to the crystal reference system.</p><!--/introduction--><h2 id="1">Crystal Lattice Directions</h2><p>Since lattice directions are always subject to a certain crystal reference frame, the starting point for any crystal direction is the definition of a variable of type <a href="crystalSymmetry.crystalSymmetry.html">crystalSymmetry</a>.</p>
1616
{% highlight matlab %}
1717
cs = crystalSymmetry('triclinic',[5.29,9.18,9.42],[90.4,98.9,90.1]*degree,...

pages/documentation_matlab/EBSDReferenceFrame.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Reference Frame Alignment
3-
last_updated: 08-Dec-2020
3+
last_updated: 11-Dec-2020
44
sidebar: documentation_sidebar
55
permalink: EBSDReferenceFrame.html
66
folder: documentation
@@ -11,7 +11,7 @@
1111
<!--
1212
This HTML was auto-generated from MATLAB code.
1313
To make changes, update the MATLAB code and republish this document.
14-
--><title>Reference Frame Alignment</title><meta name="generator" content="MATLAB 9.9"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2020-12-08"><meta name="DC.source" content="script_EBSDReferenceFrame.m"></head><body><font size="2"><a href="https://github.com/mtex-toolbox/mtex/blob/develop/doc/EBSDAnalysis/EBSDReferenceFrame.m">
14+
--><title>Reference Frame Alignment</title><meta name="generator" content="MATLAB 9.10"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2020-12-11"><meta name="DC.source" content="script_EBSDReferenceFrame.m"></head><body><font size="2"><a href="https://github.com/mtex-toolbox/mtex/blob/develop/doc/EBSDAnalysis/EBSDReferenceFrame.m">
1515
edit page</a></font><div><!--introduction--><!--/introduction--><p>The most important difference between MTEX and many other EBSD software is that in MTEX the Euler angle reference is always the map reference frame. This mean the \(x\) and \(z\) axes of the map are exactly the rotation axes of the Euler angles.</p><p>In case the map coordinates and the Euler angles in your data are with respect to different reference frames it is highly recommendet to correct for this while importing the data into MTEX. This section explains in detail how to do this.</p><h2 id="2">On Sreen Orientation of the EBSD Map</h2><p>Many peoply are concerned when the images produced by MTEX are not aligned exactly as they are in their commercial software. It is indeed very important to understand exactly the alignment of you data. However, the important point is not whether a map is upside down on you screen or not. The important point is how your map alignes with the specimen, as we want to use the map to describe properties of the specimen.</p><p>There are basicaly two components in an EBSD data set that refers to the specimen reference frame: the spatial coordinates \(x\), \(y\) and the Euler angles \(\phi_1\), \(\Phi\), \(\phi_2\). To explain the difference have a look at the EDAX export dialog</p><p><center>
1616
{% include inline_image.html file="edax_coordinate_systems.png" %}
1717
</center></p><p>Here we have the axes \(x\) and \(y\) which describe how the map coordinates needs to be interpreted and the axes \(A_1\), \(A_2\), \(A_3\) which describe how the Euler angles, and in consequence, the pole figures needs to be interpreted. We see that in non of these settings the map reference system coincides with the Euler angle reference frame.</p><p>This situation is not specific to EDAX but occurs as well with EBSD data from Oxford or Bruker, all of them using different reference system alignments. For that reason MTEX stronly recommends to transform the data such that both map coordinates and Euler angles refer to the same coordinate system.</p><p>Doing this we have two choices:</p><div><ol><li>transfrom everything to the reference system \(x\), \(y\) using the option <code class="language-plaintext highlighter-rouge">'convertEuler2SpatialReferenceFrame'</code>. This will keep the map coordinates while changing the Euler angles</li><li>transfrom everything to the reference system \(A_1\), \(A_2\), \(A_3\) using the option <code class="language-plaintext highlighter-rouge">'convertSpatial2EulerReferenceFrame'</code>. This will keep the Euler angles while changing the map coordinates.</li></ol></div><p>In the case of EDAX data imported from an <code class="language-plaintext highlighter-rouge">*.ang</code> file we still need to specify the export option used by the EDAX software. This is done by the options <code class="language-plaintext highlighter-rouge">'setting 1'</code>, <code class="language-plaintext highlighter-rouge">'setting 2'</code>, <code class="language-plaintext highlighter-rouge">'setting 3'</code> or <code class="language-plaintext highlighter-rouge">'setting 4'</code>.</p><p>Since setting 2 is default for most EDAX exports a typical command for importing data from an ang file would look like this</p>

pages/documentation_matlab/EBSDSelect.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Select EBSD data
3-
last_updated: 20-Nov-2020
3+
last_updated: 15-Dec-2020
44
sidebar: documentation_sidebar
55
permalink: EBSDSelect.html
66
folder: documentation
@@ -11,8 +11,8 @@
1111
<!--
1212
This HTML was auto-generated from MATLAB code.
1313
To make changes, update the MATLAB code and republish this document.
14-
--><title>Select EBSD data</title><meta name="generator" content="MATLAB 9.9"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2020-11-20"><meta name="DC.source" content="script_EBSDSelect.m"></head><body><font size="2"><a href="https://github.com/mtex-toolbox/mtex/blob/develop/doc/EBSDAnalysis/EBSDSelect.m">
15-
edit page</a></font><div><!--introduction--><!--/introduction--><p>In this section we discuss how to select specific EBSD data by certain properties. Let us first import some example <a href="mtexdata.html">EBSD data</a>. and plot the raw data</p>
14+
--><title>Select EBSD data</title><meta name="generator" content="MATLAB 9.10"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2020-12-15"><meta name="DC.source" content="script_EBSDSelect.m"></head><body><font size="2"><a href="https://github.com/mtex-toolbox/mtex/blob/develop/doc/EBSDAnalysis/EBSDSelect.m">
15+
edit page</a></font><div><!--introduction--><!--/introduction--><p>In this section we discuss how to select specific EBSD data by certain properties. Let us first import some example EBSD data using the command <a href="mtexdata.html"><code class="language-plaintext highlighter-rouge">mtexdata</code></a>.</p>
1616
{% highlight matlab %}
1717
mtexdata forsterite
1818
{% endhighlight %}

pages/documentation_matlab/GrainSmoothing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Grain Boundary Smoothing
3-
last_updated: 08-Dec-2020
3+
last_updated: 11-Dec-2020
44
sidebar: documentation_sidebar
55
permalink: GrainSmoothing.html
66
folder: documentation
@@ -11,7 +11,7 @@
1111
<!--
1212
This HTML was auto-generated from MATLAB code.
1313
To make changes, update the MATLAB code and republish this document.
14-
--><title>Grain Boundary Smoothing</title><meta name="generator" content="MATLAB 9.9"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2020-12-08"><meta name="DC.source" content="script_GrainSmoothing.m"></head><body><font size="2"><a href="https://github.com/mtex-toolbox/mtex/blob/develop/doc/GrainBoundaries/GrainSmoothing.m">
14+
--><title>Grain Boundary Smoothing</title><meta name="generator" content="MATLAB 9.10"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2020-12-11"><meta name="DC.source" content="script_GrainSmoothing.m"></head><body><font size="2"><a href="https://github.com/mtex-toolbox/mtex/blob/develop/doc/GrainBoundaries/GrainSmoothing.m">
1515
edit page</a></font><div><!--introduction--><!--/introduction--><p>EBSD data is usually acquired on a regular grid. Hence, even over a finite number of grid points, all possible grain boundary directions can not be uniquely represented. One way of overcoming this problem - and also allowing to compute grid-independent curvatures and grain boundary directions - is the interpolation of grain boundary coordinates using <a href="grain2d.smooth.html"><code class="language-plaintext highlighter-rouge">grains.smooth</code></a>.</p><p>Proper smoothing has an influence on measures such as total grain boundary length, grain boundary curvature, triple point angles or grain boundary directions among others.</p><p>While we used <a href="grain2d.smooth.html"><code class="language-plaintext highlighter-rouge">grains.smooth</code></a> before, here we will illustrate the different options.</p>
1616
{% highlight matlab %}
1717
mtexdata csl

0 commit comments

Comments
 (0)