pyCGM2.Model.CGM2.decorators.applyHJCDecorators#

pyCGM2.Model.CGM2.decorators.applyHJCDecorators(model: CGM, method: dict) None#

Apply hip joint centre decorators to the CGM model.

Parameters:
  • model (CGM) – A CGM model instance.

  • method (dict) – Dictionary indicating HJC method to use. Keys are ‘Left’ and ‘Right’ with values being either “Hara” or a list of three numbers (position in the pelvic coordinate system).

`python method = {"Left": "Hara", "Right": [1,3,4]} # a string or a list (ie. position in the pelvic coordinate system) applyHJCDecorators(model, method) `