We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6b4825 commit 7b4f514Copy full SHA for 7b4f514
src/murfey/workflows/tomo/tomo_metadata.py
@@ -339,10 +339,20 @@ def register_batch_position_in_database(
339
search_map.height / 2,
340
]
341
tilt_series.x_location = (
342
- centre_batch_pixel[0] - batch_parameters.x_beamshift / search_map.pixel_size
+ (
343
+ centre_batch_pixel[0]
344
+ - batch_parameters.x_beamshift / search_map.pixel_size
345
+ )
346
+ * 512
347
+ / search_map.width
348
)
349
tilt_series.y_location = (
- centre_batch_pixel[1] - batch_parameters.y_beamshift / search_map.pixel_size
350
351
+ centre_batch_pixel[1]
352
+ - batch_parameters.y_beamshift / search_map.pixel_size
353
354
355
356
357
else:
358
logger.warning(
0 commit comments