has_hexagonal_lattice#

property ReciprocalLatticeVector.has_hexagonal_lattice#

Whether the crystal lattice is hexagonal/trigonal.

Return type:

bool

Examples

See ReciprocalLatticeVector for the creation of rlv

>>> rlv
ReciprocalLatticeVector (2,), al (m-3m)
[[1. 1. 1.]
 [2. 0. 0.]]
>>> rlv.has_hexagonal_lattice
False