Project

General

Profile

Actions

Feature #15515

open

Add pause to transformmanager.py

Added by William Rice 7 months ago. Updated 4 months ago.

Status:
In Test
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
10/13/2023
Due date:
% Done:

0%

Estimated time:
Deliverable:

Description

  • If a stage movement occurs after exposure targeting has been set up (eg. ZLP alignment), transformmanager checks that stage is in the correct place and does any needed correction
  • This is done using the targeting mag, so it needs to take an image at that mag
  • currently it stays at that magnification, then goes back to the preset manager to continue imaging
  • If wait time is 0 in preset manager, there may not be enough time for the beam to stabilize after changing back to high-mag imaging, leading to a degraded image
  • this change sends the original preset back to the microscope and then pauses before continuing image
  • pause time is still set in the "settings" menu for this node
  • 5s is good for the NYU Krios
Actions #1

Updated by William Rice 5 months ago

  • if a Leginon session is restarted without a preset being sent first, the pause causes an error since it does not know which preset to store
  • this minor modification prevents this problem from happening by checking if getting the current preset works or not
  • if no current preset is found, the pause is disabled
Actions #2

Updated by Anchi Cheng 4 months ago

  • Status changed from New to In Test

code reviewed and is good.

Actions

Also available in: Atom PDF