read_xyz

chemcoord.xyz_functions.read_xyz(inputfile, pythonic_index=False, get_bonds=True)[source]

Reads a xyz file.

Note

This function calls in the background Cartesian.read_xyz(). If you inherited from Cartesian to tailor it for your project, you have to use this method as a constructor. Otherwise you can choose.

Parameters:
  • inputfile (str) –
  • pythonic_index (bool) –
Returns:

Return type:

Cartesian