saveMp#

pyCGM2.Utils.files.saveMp(mpInfo: Dict, model: Model, DATA_PATH: str, mpFilename: str)#

Save anthropometric parameters as a JSON file.

Parameters:
  • mpInfo (Dict) – Global anthropometric parameters dictionary.

  • model (Model) – A pyCGM2 model instance.

  • DATA_PATH (str) – The directory path to save the mp file.

  • mpFilename (str) – The filename for saving the anthropometric parameters.