Skip to content

Commit

Permalink
add objective mag in napari layer name
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquanli committed Feb 23, 2025
1 parent e59fb34 commit 4d4137e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion software/control/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,8 @@ def update_napari(self, image, config_name, k):
self.init_napari_layers = True
self.napari_layers_init.emit(image.shape[0], image.shape[1], image.dtype)
pos = self.stage.get_pos()
self.napari_layers_update.emit(image, pos.x_mm, pos.y_mm, k, config_name)
objective_magnification = str(int(self.objectiveStore.get_current_objective_info()["magnification"]))
self.napari_layers_update.emit(image, pos.x_mm, pos.y_mm, k, objective_magnification + "x_" + config_name)

def handle_dpc_generation(self, current_round_images):
keys_to_check = [
Expand Down

0 comments on commit 4d4137e

Please sign in to comment.