xnn.ffnn.models.amoebalib.write_tinker_xyz#
- xnn.ffnn.models.amoebalib.write_tinker_xyz(path, positions, types, bonds, type_numbers, symbols=None, title='xnn', cell=None)[source]#
Write a Tinker
.xyzcoordinate file.- Parameters:
path (str or Path) – Output path.
positions (array_like) – Cartesian coordinates
(N, 3)in Angstrom.types (sequence of str) – Per-atom type names of the library.
type_numbers (dict) –
{type name: int}as returned bywrite_tinker_prm().symbols (sequence of str, optional) – Atom names (element symbols by default).
title (str, optional) – Title written after the atom count.
cell (sequence of float, optional) – The six lattice parameters
a b c alpha beta gammafor a periodic system.
- Returns:
The written file.
- Return type:
Path