pwtools.crys.voigt2tensor3d

pwtools.crys.voigt2tensor3d(voigt)[source]

Same as voigt2tensor() for trajectories.

Parameters:

voigt ((nstep,6))

Returns:

tensor

Return type:

(nstep,3,3)