@@ -12,6 +13,7 @@ Load functions for analysing cells and their background.
...
@@ -12,6 +13,7 @@ Load functions for analysing cells and their background.
Note that inspect.getmembers returns a list of function names and functions, and inspect.getfullargspec returns a function's arguments.
Note that inspect.getmembers returns a list of function names and functions, and inspect.getfullargspec returns a function's arguments.
"""
"""
defload_cellfuns_core():
defload_cellfuns_core():
"""
"""
Load functions from the cell module and return as a dict.
Load functions from the cell module and return as a dict.
...
@@ -24,7 +26,9 @@ def load_cellfuns_core():
...
@@ -24,7 +26,9 @@ def load_cellfuns_core():
}
}
defload_custom_args():
defload_custom_args()->t.Tuple[
(t.Dict[str,t.Callable],t.Dict[str,t.List[str]])
]:
"""
"""
Load custom functions from the localisation module and return the functions and any additional arguments, other than cell_mask and trap_image, as dictionaries.
Load custom functions from the localisation module and return the functions and any additional arguments, other than cell_mask and trap_image, as dictionaries.