openff.interchange.components.foyer.FoyerRBProperHandler

pydantic model openff.interchange.components.foyer.FoyerRBProperHandler[source]

Handler storing Ryckaert-Bellemans proper torsion potentials as produced by a Foyer force field.

Config
  • arbitrary_types_allowed: bool = True

  • json_encoders: dict = {<class ‘openff.units.units.Quantity’>: <function custom_quantity_encoder at 0x7fdff3466f70>}

  • json_loads: function = <function json_loader at 0x7fdff3459280>

  • validate_assignment: bool = True

Fields
field type: str = 'rb_propers'
field expression: str = 'C0 * cos(phi)**0 + C1 * cos(phi)**1 + C2 * cos(phi)**2 + C3 * cos(phi)**3 + C4 * cos(phi)**4 + C5 * cos(phi)**5'
field connection_attribute: str = 'propers'
field raise_on_missing_params: bool = False
get_params_with_units(params)[source]

Get the parameters of this handler, tagged with units.