def _call_ui(self, ui_helper: UIHelper, data: TensorObservableData,
              properties: List[ObserverPropertiesItem]):
     params = MemoryBlockParams(data.params.scale, data.params.projection,
                                None)
     ui_helper.ui_api.memory_block(data.tensor,
                                   params,
                                   UIHelper.convert_properties(properties),
                                   win=f'{self.name}')
 def _call_ui(self, ui_helper: UIHelper, data: HierarchicalObservableData,
              properties: List[ObserverPropertiesItem]):
     ui_helper.ui_api.hierarchical_observer(
         data.groups_stacking,
         data.items_per_row,
         data.image_groups, [
             to_nested_dict(group_params)
             for group_params in data.params_groups
         ],
         UIHelper.convert_properties(properties),
         win=f'{self.name}')
 def _call_ui(self, ui_helper: UIHelper, data: ClusterObserverData,
              properties: List[ObserverPropertiesItem]):
     ui_helper.ui_api.cluster_observer(
         data, UIHelper.convert_properties(properties), win=self.name)