## xyz_trajectory_block()


Format geometries as a multi-frame xyz block, one frame per geometry.


Usage

``` python
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](xyz_block.md#autogeom.xyz_block)).


## Returns


`str`  
The xyz block.


## Raises


`ValueError`  
If `comments` doesn't have one entry per geometry.
