Skip to content

Commit 237c23d

Browse files
committed
docu
1 parent dc56bc8 commit 237c23d

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

pages/documentation_matlab/CrystalOperations.html

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div>
2424
<!--introduction-->
2525
<!--/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>
2727
{% highlight matlab %}
2828
data = load([mtexDataPath filesep 'quartzPattern.mat']);
2929
pattern = data.pattern;
@@ -37,25 +37,15 @@
3737
<center>
3838
{% include inline_image.html file="CrystalOperations_01.png" %}
3939
</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>
4141
{% highlight matlab %}
4242
% extract the crystal symmetry
43-
cs = pattern.CS
43+
cs = pattern.CS;
4444

4545
m = Miller(-1,0,1,0,cs,'hkil'); % hexagonal prism
4646
r = Miller(0,-1,1,1,cs,'hkil'); % positive rhomboedron
4747
z = Miller(0,1,-1,1,cs,'hkil'); % negative rhomboedron
4848
{% 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 %}
5949
<p>and visualize them as planes in the Kikuchi pattern and as points in the dual pattern</p>
6050
{% highlight matlab %}
6151
hold on
@@ -72,8 +62,8 @@
7262
<center>
7363
{% include inline_image.html file="CrystalOperations_02.png" %}
7464
</center>
75-
<h2 id="4">Symmetrically Equivalent Crystal Directions</h2>
76-
<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 <a href="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 <a href="Miller.symmetrise.html"><code class="language-plaintext highlighter-rouge">symmetrise</code></a>
65+
<h2 id="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 \(<a href="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 <a href="Miller.symmetrise.html"><code class="language-plaintext highlighter-rouge">symmetrise</code></a>
7767
</p>
7868
{% highlight matlab %}
7969
symmetrise(r)
@@ -226,8 +216,8 @@ <h2 id="12">Angles</h2>
226216
180.0000
227217
{% endhighlight %}
228218
<p>This option is available for many other functions involving crystal directions and crystal orientations.</p>
229-
<h2 id="16">Calculations</h2>
230-
<p>Essentially all the operations defined for general directions, i.e. for variables of type <a href="vector3d.vector3d.html"><code class="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+
<h2 id="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>
231221
{% highlight matlab %}
232222
ori = orientation.byEuler(10*degree,20*degree,30*degree,cs)
233223

@@ -237,7 +227,7 @@ <h2 id="16">Calculations</h2>
237227
{% endhighlight %}
238228

239229
{% highlight plaintext %}
240-
ori = orientation (alpha-quartz low → y←↑x)
230+
ori = orientation (alpha-quartz low → y↑→x)
241231

242232
Bunge Euler angles in degree
243233
phi1 Phi phi2

0 commit comments

Comments
 (0)