Skip to content

Commit

Permalink
Fix the name of the gls method, since it no longer computes strictl…
Browse files Browse the repository at this point in the history
…y global strain (#180)

- Also add missing docstring for `half` arg
  • Loading branch information
nathanpainchaud authored Nov 6, 2023
1 parent 49dea33 commit c723fd5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vital/utils/image/us/measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def endo_epi_control_points(

@staticmethod
@auto_cast_data
def gls(
def longitudinal_strain(
segmentation: T,
lv_labels: SemanticStructureId,
myo_labels: SemanticStructureId,
Expand All @@ -411,6 +411,8 @@ def gls(
ED instant.
lv_labels: Labels of the classes that are part of the left ventricle.
myo_labels: Labels of the classes that are part of the myocardium.
half: The half of the endocardium to consider when computing the strain. `None` to compute a global strain,
and either "left" or "right" to compute local strain.
voxelspacing: Size of the segmentation's voxels along each (height, width) dimension (in mm).
Returns:
Expand Down

0 comments on commit c723fd5

Please sign in to comment.