Skip to main content

from_xyz_trajectory_file()

Read geometries from a multi-frame xyz file (see from_xyz_trajectory_block).

Usage

Source

from_xyz_trajectory_file(
    path,
    *,
    charge,
    spin,
)

Parameters

path: str | Path

Path to the xyz file.

charge: int

Total molecular charge, for every frame.

spin: int
Number of unpaired electrons, for every frame.

Returns

list[Geometry]
The parsed geometries, in order.