You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/openlifu/virtual_fit.py
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,9 @@ class VirtualFitOptions(DictMixin):
90
90
planefit_dpitch_step: Annotated[float, OpenLIFUFieldData("Plane fit pitch step", "Local pitch axis step size to use when constructing plane fitting grids. In spatial units of `units`")] =3
91
91
"""Local pitch axis step size to use when constructing plane fitting grids. In spatial units of `units`."""
92
92
93
+
top_n_candidates: Annotated[int, OpenLIFUFieldData("No. of candidates returned", "Sets the limit for the number of transducer transform candidates returned by the algorithm.")] =4
94
+
"""Sets the limit for the number of transducer transform candidates returned by the algorithm."""
95
+
93
96
def__post_init__(self):
94
97
ifnotisinstance(self.units, str):
95
98
raiseTypeError("Units must be a string")
@@ -135,6 +138,10 @@ def __post_init__(self):
135
138
raiseValueError("Plane fit pitch extent must be greater than 0")
0 commit comments