Contains functions for dealing with the .xyz file format.[source]

Takes the filecontents of a .xyz file and produces an atomium data dictionary from them.

Parameters:filestring (str) – The contents of a .xyz file.
Return type:dict[source]

Takes a basic .xyz dict and turns it into a standard atomium data dictionary.

Parameters:xyz_dict (dict) – The .xyz dictionary.
Return type:dict[source]

Takes a File and turns it into a .xyz filestring that represents it.

Parameters:file (File) – the File to convert.
Return type:str