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
Thank you for the great tools! I ran into an issue with the interact function; I figured it out, but I thought I would make a note here in case someone else runs into the same issue.
When using a custom function if you choose certain args, you will get pre-defined ranges according to:
def guess_range(name, annotation):
if name == 'footprint' or name == 'selem' or name == 'structuring_element':
return 0, 100, 1
if 'sigma' in name:
return 0, 25, 1
if 'radius' in name:
return 0, 100, 1
if 'factor' in name:
return 0, 100, 1
if name == 'angle' or "degrees" in name:
return 0, 360, 15
return None, None, None
The text was updated successfully, but these errors were encountered:
Hello,
Thank you for the great tools! I ran into an issue with the interact function; I figured it out, but I thought I would make a note here in case someone else runs into the same issue.
When using a custom function if you choose certain args, you will get pre-defined ranges according to:
def guess_range(name, annotation):
if name == 'footprint' or name == 'selem' or name == 'structuring_element':
return 0, 100, 1
if 'sigma' in name:
return 0, 25, 1
if 'radius' in name:
return 0, 100, 1
if 'factor' in name:
return 0, 100, 1
if name == 'angle' or "degrees" in name:
return 0, 360, 15
return None, None, None
The text was updated successfully, but these errors were encountered: