coordinates#
- property ReciprocalLatticeVector.coordinates#
Miller or Miller-Bravais indices.
- Returns:
- coordinates
numpy.ndarray Miller indices if
coordiante_formatis"hkl"or Miller-Bravais indices if it is"hkil".
- coordinates
Examples
See
ReciprocalLatticeVectorfor 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.]])