Config#

The Registy class is used to (gasp) register different elements so they are available throughout the MyoGestic software. The configuration parameters are used to set the parameters of the different models and features.

Following elements can be registered:

  • Models

  • Features (must be capable of running in real-time)

  • Post prediction filters (mainly for smoothing)

  • Visual interfaces

  • Output systems (e.g. connection to a prosthetic)

Registry#

Registry()

The registry class is used to store different components of a MyoGestic application pipeline.

Configuration Parameters#

myogestic.utils.config.ChangeableParameter#

alias of IntParameter | FloatParameter | StringParameter | BoolParameter | CategoricalParameter

typeddict myogestic.utils.config.BoolParameter[source]#

typing.TypedDict.

Required Keys:
  • default_value (bool)

typeddict myogestic.utils.config.IntParameter[source]#

typing.TypedDict.

Required Keys:
  • start_value (int)

  • end_value (int)

  • step (int)

  • default_value (int)

typeddict myogestic.utils.config.FloatParameter[source]#

typing.TypedDict.

Required Keys:
typeddict myogestic.utils.config.StringParameter[source]#

typing.TypedDict.

Required Keys:
  • default_value (str)

typeddict myogestic.utils.config.CategoricalParameter[source]#

typing.TypedDict.

Required Keys:
  • default_value (str)

myogestic.utils.config.UnchangeableParameter#

alias of int | float | str | bool | list[str] | None