You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/documentation_matlab/CrystalOperations.html
+8-18Lines changed: 8 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
<div>
24
24
<!--introduction-->
25
25
<!--/introduction-->
26
-
<p>In this section we discuss basic operations with crystal directions. Therefore, lets start by importing and plotting a simulated quartz Kikuchi pattern</p>
26
+
<p>In this section we discuss basic operations with lattice directions and lattice planes. Lets start by importing and plotting a simulated Quartz Kikuchi pattern</p>
27
27
{% highlight matlab %}
28
28
data = load([mtexDataPath filesep 'quartzPattern.mat']);
29
29
pattern = data.pattern;
@@ -37,25 +37,15 @@
37
37
<center>
38
38
{% include inline_image.html file="CrystalOperations_01.png" %}
39
39
</center>
40
-
<p>Next we consider the most reflective lattice planes in Quartz which are positive and negative rhomboedron planes as well as the hexagonal prism planes</p>
40
+
<p>Next we consider the most reflective lattice planes in Quartz which are the positive and negative rhomboedron planes as well as the hexagonal prism planes</p>
41
41
{% highlight matlab %}
42
42
% extract the crystal symmetry
43
-
cs = pattern.CS
43
+
cs = pattern.CS;
44
44
45
45
m = Miller(-1,0,1,0,cs,'hkil'); % hexagonal prism
46
46
r = Miller(0,-1,1,1,cs,'hkil'); % positive rhomboedron
47
47
z = Miller(0,1,-1,1,cs,'hkil'); % negative rhomboedron
48
48
{% endhighlight %}
49
-
50
-
{% highlight plaintext %}
51
-
cs = crystalSymmetry
52
-
53
-
mineral : alpha-quartz low
54
-
symmetry : 321
55
-
elements : 6
56
-
a, b, c : 0.49, 0.49, 0.54
57
-
reference frame: X||a, Y||b*, Z||c*
58
-
{% endhighlight %}
59
49
<p>and visualize them as planes in the Kikuchi pattern and as points in the dual pattern</p>
60
50
{% highlight matlab %}
61
51
hold on
@@ -72,8 +62,8 @@
72
62
<center>
73
63
{% include inline_image.html file="CrystalOperations_02.png" %}
<p>Since crystal lattices are symmetric lattice directions can be grouped into classes of symmetrically equivalent directions. Those groups can be derived by permuting the Miller indices (uvw). The class of all directions symmetrically equivalent to (uvw) is commonly denoted by <ahref="uvw">uvw</a>, while the class of all lattice planes symmetrically equivalent to the plane (hkl) is denoted by {hkl}. Given a lattice direction or a lattice plane all symmetrically equivalent directions and planes are computed by the command <ahref="Miller.symmetrise.html"><codeclass="language-plaintext highlighter-rouge">symmetrise</code></a>
65
+
<h2id="4">Symmetrically Equivalent Planes and Directions</h2>
66
+
<p>Since crystal lattices are symmetric lattice directions can be grouped into classes of symmetrically equivalent directions. Those groups can be derived by permuting the Miller indices (uvw). The class of all directions symmetrically equivalent to (uvw) is commonly denoted by \(<ahref="uvw">uvw</a>\), while the class of all lattice planes symmetrically equivalent to the plane (hkl) is denoted by {hkl}. Given a lattice direction or a lattice plane all symmetrically equivalent directions and planes are computed by the command <ahref="Miller.symmetrise.html"><codeclass="language-plaintext highlighter-rouge">symmetrise</code></a>
77
67
</p>
78
68
{% highlight matlab %}
79
69
symmetrise(r)
@@ -226,8 +216,8 @@ <h2 id="12">Angles</h2>
226
216
180.0000
227
217
{% endhighlight %}
228
218
<p>This option is available for many other functions involving crystal directions and crystal orientations.</p>
229
-
<h2id="16">Calculations</h2>
230
-
<p>Essentially all the operations defined for general directions, i.e. for variables of type <ahref="vector3d.vector3d.html"><codeclass="language-plaintext highlighter-rouge">vector3d</code></a> are also available for Miller indices. In addition Miller indices interact with crystal orientations. Consider the crystal orientation</p>
219
+
<h2id="16">Crystal Orientations</h2>
220
+
<p>Crystal orientations describe how the crystal lattice is aligned with respect to a specimen fixed reference frame. Consider the crystal orientation</p>
231
221
{% highlight matlab %}
232
222
ori = orientation.byEuler(10*degree,20*degree,30*degree,cs)
0 commit comments