Lattices (erlab.lattice
)¶
Tools related to the real and reciprocal lattice.
Functions
|
Return the angle between two vectors. |
|
Construct lattice vectors from lattice parameters. |
|
Determine lattice parameters from lattice vectors. |
|
Construct the reciprocal lattice vectors from real lattice vectors. |
|
Construct the real lattice vectors from reciprocal lattice vectors. |
- erlab.lattice.abc2avec(a, b, c, alpha, beta, gamma)[source]¶
Construct lattice vectors from lattice parameters.
- erlab.lattice.to_real(bvec)[source]¶
Construct the real lattice vectors from reciprocal lattice vectors.