gridify edit page

approximate a list of Miller indices with Miller indices on a grid

Syntax

[hklGrid, weightsG, id] = gridify(vec)
[hklGrid, weightsG, id] = gridify(vec,'weights',weights)

Input

vec vector3d

Output

hklGrid Miller
weightsG double
id

Options

weights
resolution