Skip to content

Commit 893785e

Browse files
committed
Flip for falcon camera
1 parent d2e6a24 commit 893785e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/murfey/workflows/tomo/tomo_metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ def register_search_map_in_database(
196196
)
197197

198198
camera = getattr(Camera, machine_config.camera)
199-
if camera == Camera.K3_FLIPY: # Camera.FALCON ?
199+
if camera == Camera.K3_FLIPY:
200200
corrected_vector = np.matmul(np.array([[1, 0], [0, -1]]), corrected_vector)
201-
elif camera == Camera.K3_FLIPX:
201+
elif camera == Camera.K3_FLIPX or Camera.FALCON:
202202
corrected_vector = -1 * corrected_vector
203203

204204
search_map_params.height_on_atlas = int(

0 commit comments

Comments
 (0)