polymerist.mdtools.openfftools.unitsys ====================================== .. py:module:: polymerist.mdtools.openfftools.unitsys .. autoapi-nested-parse:: For handling interconversion between the OpenMM and OpenFF (Pint) unit engines Attributes ---------- .. autoapisummary:: polymerist.mdtools.openfftools.unitsys.ReturnType Functions --------- .. autoapisummary:: polymerist.mdtools.openfftools.unitsys.allow_openmm_units polymerist.mdtools.openfftools.unitsys.allow_openff_units Module Contents --------------- .. py:data:: ReturnType .. py:function:: allow_openmm_units(funct: Callable[Ellipsis, ReturnType]) -> Callable[Ellipsis, ReturnType] Allow a Callable which expects any of its args to be OpenFF Quantities to also accept equivalent OpenMM Quantites .. py:function:: allow_openff_units(funct: Callable[Ellipsis, ReturnType]) -> Callable[Ellipsis, ReturnType] Allow a Callable which expects any of its args to be OpenMM Quantities to also accept equivalent OpenFF Quantites