xnn.ffnn.models.amoebalib.read_tinker_prm#

xnn.ffnn.models.amoebalib.read_tinker_prm(path)[source]#

Read a Tinker parameter file of the AMOEBA or HIPPO force field.

Atom types and classes keep their integer labels as strings; torsion amplitudes are multiplied by the file’s torsionunit (and pi-torsion / torsion-torsion values by theirs) so the library holds the energy coefficients; biotype rows and keywords the model does not use are recorded in notes.

Parameters:

path (str or Path) – The .prm file.

Returns:

The library (without typing templates).

Return type:

AmoebaLibrary