coordinates#

property ReciprocalLatticeVector.coordinates#

Miller or Miller-Bravais indices.

Returns:

coordinates – Miller indices if coordiante_format is "hkl" or Miller-Bravais indices if it is "hkil".

Return type:

numpy.ndarray

Examples

See ReciprocalLatticeVector for the creation of rlv

>>> rlv
ReciprocalLatticeVector (2,), al (m-3m)
[[1. 1. 1.]
 [2. 0. 0.]]
>>> rlv.coordinates
array([[1., 1., 1.],
       [2., 0., 0.]])
>>> rlv.coordinate_format = "hkil"
>>> rlv.coordinates
array([[ 1.,  1., -2.,  1.],
       [ 2.,  0., -2.,  0.]])