pwtools.crys.volume_cc

pwtools.crys.volume_cc(cryst_const)[source]

Volume of the unit cell from crystallographic constants [1].

Parameters:

cryst_const (array_like, shape (6,)) – [a, b, c, alpha, beta, gamma], where alpha=angle(b,c), beta=angle(a,c), gamma=angle(a,b)

Returns:

volume, unit

Return type:

[a]**3

References