Reference XYZAnimation XYZAnimation.to_xdatcar
XYZAnimation.to_xdatcar
to_xdatcar(filename, lattice_matrix)
Write XYZAnimation object to .xdatcar file.
Parameters:
-
filename
(str
) –Name of .xdatcar file that will be created.
-
lattice_matrix
(LatticeMatrix | list[LatticeMatrix]
) –Either singular latticematrix or list the same length of animation_dict with a LatticeMatrix for every image of animation.
Returns:
-
.xdatcar file containing XYZAnimation object.
–