Skip to main content

geom.xyz_trajectory_file()

Write geometries to a multi-frame xyz file (see xyz_trajectory_block).

Usage

Source

geom.xyz_trajectory_file(
    geos,
    *,
    path,
    comments=None,
)

Parameters

geos: Sequence[Geometry]

Geometries.

path: str | Path

Output path.

comments: Sequence[str] | None = None
Comment line for each frame. Defaults to the charge and spin.