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
The property ext_depth_of_field_plane_distance returns the 0 indexes which is always True, but it should return index 2 which is the distance value of type float.
@propertydefext_depth_of_field_plane_distance(self) ->Optional[float]:
"""Return total focal depth used for extended depth of field."""returnself._ext_depth_of_field[0]
Fixed:
@propertydefext_depth_of_field_plane_distance(self) ->Optional[float]:
"""Return total focal depth used for extended depth of field."""returnself._ext_depth_of_field[2]
@cached_propertydef_ext_depth_of_field(self) ->Tuple[bool, Optional[int], Optional[float]]:
"""Return extended depth of field (enabled, number of focal planes, distance between focal planes) from dataset. Returns ------- Tuple[bool, Optional[int], Optional[float]] If extended depth of field is used, and if used number of focal planes and distance between focal planes. """
The text was updated successfully, but these errors were encountered:
Moin,
first of all thanks for you great work.
The property ext_depth_of_field_plane_distance returns the 0 indexes which is always True, but it should return index 2 which is the distance value of type float.
Issue:
def ext_depth_of_field_plane_distance(self) -> Optional[float]:
Fixed:
Source:
def _ext_depth_of_field(self) -> Tuple[bool, Optional[int], Optional[float]]:
The text was updated successfully, but these errors were encountered: