xnn.ffnn.models.amoebalib.read_amoeba#

xnn.ffnn.models.amoebalib.read_amoeba(source, strict=True)[source]#

Read an AMOEBA / HIPPO parameter library.

Parameters:
  • source (str or Path) – A .json file in the native format, a Tinker .prm file, or a .frc force-field spec understood by find_forcefield(): a variant shipped with xnn by name ("amoeba-water-2003", "hippo-water-2021", "amoebapro13"), a .frc path, or "<path>.frc:<variant>".

  • strict (bool, optional) – See from_forcefield().

Returns:

The parsed library.

Return type:

AmoebaLibrary