QTM
qtmTools
Module contains convenient functions dealing with the session.xml file generated from QTM.
- pyCGM2.QTM.qtmTools.SubjectMp(soup)
return the antropometric parameters
- Parameters
soup (bs4.soup) – content of the session.xml
- pyCGM2.QTM.qtmTools.detectMeasurementType(soup)
return the type of each measurement section
- Parameters
soup (bs4.soup) – content of the session.xml
- pyCGM2.QTM.qtmTools.findDynamic(soup)
return the dynamic files from the bs4.soup instance representing the content of the session.xml
- Parameters
soup (bs4.soup) – content of the session.xml
- pyCGM2.QTM.qtmTools.findKneeCalibration(soup, side)
return the knee functional calibration file from the bs4.soup instance representing the content of the session.xml
- Parameters
soup (bs4.soup) – content of the session.xml
side (str) – lower limb side
- pyCGM2.QTM.qtmTools.findStatic(soup)
return the static file from the bs4.soup instance representing the content of the session.xml
- Parameters
soup (bs4.soup) – content of the session.xml
- pyCGM2.QTM.qtmTools.getFilename(measurement)
return the filename of the measurement section
- Parameters
measurement (bs4.soup) – a measurement section of the session.xml file.
- pyCGM2.QTM.qtmTools.getForcePlateAssigment(measurement)
return the force plate assigment from the measurement section
- Parameters
measurement (bs4.soup) – a measurement section of the session.xml file.
- pyCGM2.QTM.qtmTools.getKneeFunctionCalibMethod(measurement)
return the method used for the knee calibration
- Parameters
measurement (bs4.soup) – a measurement section of the session.xml file.
- pyCGM2.QTM.qtmTools.isType(measurement, type)
check type of measurement section
- Parameters
measurement (bs4.soup) – a measurement section of the session.xml file.
type (str) – type