Skip to content

Reference Functions read_xdatcar

read_xdatcar

read_xdatcar(filepath, debug_print=False)

Reads .xdatcar file and returns ABCAnimation instance.

Parameters:

  • filepath (str) –

    Filename (if in current working directory) or absolute path or os.path.join(os.getcwd(),'filename.xyz').

Returns:

  • ABCAnimation

    ABCAnimation object containing structure data from .xdatcar file.