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:
Examples
See
ReciprocalLatticeVector
for the creation ofrlv
>>> 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.]])