glenoidplanefitting.algorithms.friedman module
This is an implentation of Friedman’s method, see
Friedman RJ, Hawthorne KB and Genez BM. The use of computerized tomography in the measurement of glenoid version. J Bone and Joint Surg Am 1992; 74: 1032–7.
- glenoidplanefitting.algorithms.friedman.create_friedman_line(point0, point1)[source]
Determines the second point needed to form the Friedman line
- Parameters
point0 – First point on glenoid line, anatomically defined as a point on the anterior margin of glenoid
point1 – Second point on glenoid line anatomically defined as a point on the posterior margin of glenoid
- Raises
Value Error if the z values of point0 and point1 are not equal
- Returns
The midpoint of the glenoid line, which is the second point of the Friedman line
- glenoidplanefitting.algorithms.friedman.friedman_version(glenoid0, friedman1, friedman0)[source]
Determines the glenoid version using the Friedman line
- Parameters
glenoid0 – First point on glenoid line, anatomically defined as a point on the anterior margin of the glenoid
friedman1 – Second point on the Friedman line, anatomically defined as the midpoint of the glenoid fossa
friedman0 – First point on the Friedman line, anatomically defined as the medial tip of the scapula
- Returns
The glenoid version (positive value indicates retroversion)