Skip to content

Commit 311e82d

Browse files
committed
Apply shifts needed for atlas displays on Talos and Falcon-Krios
1 parent 344c266 commit 311e82d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/murfey/workflows/tomo/tomo_metadata.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,12 @@ def register_search_map_in_database(
200200

201201
# Flip positions based on camera type
202202
camera = getattr(Camera, machine_config.camera)
203-
if camera == Camera.K3_FLIPY:
203+
if camera == Camera.FALCON:
204204
corrected_vector = np.matmul(np.array([[1, 0], [0, -1]]), corrected_vector)
205205
elif camera == Camera.K3_FLIPX:
206206
corrected_vector = np.matmul(np.array([[-1, 0], [0, 1]]), corrected_vector)
207+
elif camera == Camera.K3_FLIPY:
208+
corrected_vector = np.matmul(np.array([[0, 1], [1, 0]]), corrected_vector)
207209

208210
# Convert from metres to pixels
209211
search_map_params.height_on_atlas = int(

0 commit comments

Comments
 (0)