mythos.energy ============= .. py:module:: mythos.energy .. autoapi-nested-parse:: The energy model and function for mythos. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/mythos/energy/base/index /autoapi/mythos/energy/configuration/index /autoapi/mythos/energy/dna1/index /autoapi/mythos/energy/dna2/index /autoapi/mythos/energy/na1/index /autoapi/mythos/energy/potentials/index /autoapi/mythos/energy/rna2/index /autoapi/mythos/energy/utils/index Attributes ---------- .. autoapisummary:: mythos.energy.DEFAULT_DISPLACEMENT Functions --------- .. autoapisummary:: mythos.energy.energy_fn_builder Package Contents ---------------- .. py:data:: DEFAULT_DISPLACEMENT .. py:function:: energy_fn_builder(energy_fns: list[base.BaseEnergyFunction], energy_configs: list[configuration.BaseConfiguration], transform_fn: collections.abc.Callable[[mythos.utils.types.PyTree], mythos.utils.types.PyTree], displacement_fn: collections.abc.Callable[[mythos.utils.types.PyTree], mythos.utils.types.PyTree] = DEFAULT_DISPLACEMENT) -> collections.abc.Callable[[mythos.utils.types.PyTree], float] Build an energy function from a list of energy functions and configurations.