larvaworld.lib.reg
This module sets up the larvaworld registry where most functions, classes, and configurations are registered. It is initialized automatically when importing the package and serves as an accessible database for all functionalities.
Submodules
Attributes
Functions
|
Shortcut function for easy use directly via the registry. |
|
Shortcut function for easy use directly via the registry. |
|
|
|
Package Contents
- larvaworld.lib.reg.units: pint.UnitRegistry
- larvaworld.lib.reg.controls: keymap.ControlRegistry
- larvaworld.lib.reg.par: parDB.ParamRegistry
- larvaworld.lib.reg.getPar(k: Any | None = None, p: Any | None = None, d: Any | None = None, to_return: str = 'd') Any
Shortcut function for easy use directly via the registry. See ‘par.getPar’ for more information.
- larvaworld.lib.reg.loadRef(id: str, **kwargs: Any) Any
Shortcut function for easy use directly via the registry. See ‘conf.Ref.loadRef’ for more information.
- larvaworld.lib.reg.default_ref() Any
- larvaworld.lib.reg.default_modelID: str = 'explorer'
- larvaworld.lib.reg.default_model() Any