Programming biomedical Smart Space applications with BioImageXD and PythonRules