Source code for data_processing.image_analysis.analysis_registry

"""
The dictionary with the name of the algorithms available in this folder.
"""


_REGISTRY = {}

[docs] def register_class(cls): _REGISTRY[cls.__name__] = cls return cls
[docs] def get_image_analysis_type(name): return _REGISTRY.get(name)
[docs] def get_available_analysis(): return list(_REGISTRY.keys())