radtools.Lattice.lattice_points#
method
- Lattice.lattice_points(relative=False, reciprocal=False, normalize=False)[source]#
Compute lattice points
- Parameters:
- relativebool, default False
Whether to return relative or absolute coordinates.
- reciprocalbool, default False
Whether to use reciprocal or real cell.
- normalizebool, default False
Whether to normalize corresponding vectors to have the volume equal to one.
- Returns:
- lattice_points(N, 3) numpy.ndarray
N lattice points. Each element is a vector \(v = (v_x, v_y, v_z)\).