treams.lattice.volume¶
- treams.lattice.volume(a) = <ufunc 'volume'>¶
Calculate the signed volume (area)
From the vectors given in a, calculate the volume or area. This value is signed showing the handedness of the system. For a two-dimensional lattice calculates the area and the function has therefore as alias the name area.
- Parameters:
a (float, (2,2)- or (3,3)-array) – Lattice vectors
- Returns:
float