def read(self, filename):
    "\n        Read xyz formatted trajectory file.\n\n        Parameters\n        ----------\n        filename : str\n            Trajectory file name.\n\n        Returns\n        -------\n        None\n            Assigns 'coordinates', 'atoms', and 'headers' attributes.\n\n        "
    self.name = os.path.splitext(os.path.basename(filename))[0]
    traj = read_xyz_traj(filename)
    (self.atoms, self.coordinates, self.headers) = (traj['atoms'], traj['coordinates'], traj['headers'])
Read xyz formatted trajectory file.

Parameters
----------
filename : str
    Trajectory file name.

Returns
-------
None
    Assigns 'coordinates', 'atoms', and 'headers' attributes.
def read(self, filename):
    "\n        Read xyz formatted trajectory file.\n\n        Parameters\n        ----------\n        filename : str\n            Trajectory file name.\n\n        Returns\n        -------\n        None\n            Assigns 'coordinates', 'atoms', and 'headers' attributes.\n\n        "
    self.name = os.path.splitext(os.path.basename(filename))[0]
    traj = read_xyz_traj(filename)
    (self.atoms, self.coordinates, self.headers) = (traj['atoms'], traj['coordinates'], traj['headers'])