pwtools.crys.tensor2voigt3d

pwtools.crys.tensor2voigt3d(tensor)[source]

Same as tensor2voigt() for trajectories.

Parameters:

tensor ((nstep,3,3))

Returns:

voigt

Return type:

(nstep,6)