Skip to main content

geom.from_xyz_file()

Read a geometry from an xyz file (see from_xyz_block).

Usage

Source

geom.from_xyz_file(
    path,
    *,
    charge,
    spin,
)

Parameters

path: str | Path

Path to the xyz file.

charge: int

Total molecular charge.

spin: int
Number of unpaired electrons.

Returns

Geometry
The parsed geometry.