geom.xyz_trajectory_block()
Format geometries as a multi-frame xyz block, one frame per geometry.
Usage
geom.xyz_trajectory_block(
geos,
*,
comments=None,
)Parameters
geos: Sequence[Geometry]-
Geometries.
comments: Sequence[str] | None = None- Comment line for each frame. Defaults to the charge and spin (see xyz_block).
Returns
str- The xyz block.
Raises
ValueError-
If
commentsdoesn’t have one entry per geometry.