Skip to main content

xyz_file()

Write a geometry to an xyz file.

Usage

Source

xyz_file(
    geo,
    *,
    path,
    comment=None,
)

Parameters

geo: Geometry

Geometry.

path: str | Path

Output path.

comment: str | None = None
Comment line. Defaults to the charge and spin, e.g. "Geometry(q=0, s=0)".