tries to round miller indizes to greatest common divisor
Description
For trigonal and hexagonal lattices the three and the four index notation are not integer at the same time, e.g. UVTW = (1,3,-4,8) corresponds to uvw = (5,7,8)/3. Which of them is rounded is decided by the convention option.
Syntax
h = round(h)
h = round(h,'maxHKL',5)
h = round(h,'uvw')
[h,err] = round(h)Input
| h | Miller |
Output
| h | Miller |
| err | angle between the original and the rounded Miller indices |
Options
| maxHKL | maximum value of Miller indices |
| hkl, hkil, uvw, UVTW | convention to round with respect to, by default the display convention of h is used |