getMp#

pyCGM2.Utils.files.getMp(mpInfo: Dict, resetFlag: bool = True)#

Return required and optional anthropometric parameters from a given dictionary.

Parameters:
  • mpInfo (Dict) – The global dictionary containing anthropometric parameters.

  • resetFlag (bool, optional) – If True, resets optional parameters. Defaults to True.

Returns:
  • dict – Required anthropometric parameters.

  • dict – Optional anthropometric parameters.