Project

General

Profile

Drift Manager » History » Version 3

Eric Hou, 06/24/2010 04:52 PM

1 1 Amber Herold
h1. Drift Manager
2
3 3 Eric Hou
The Drift Manager monitor has two functions. It works with <link linkend="transmanager_node">Transform Manager</link> to keep the accuracy of targeting through long experiment and certain operation such as the change of stage z position.
4 1 Amber Herold
5
* Monitoring drift when requested
6
7
* Declaring that a drift has occured.
8
9 3 Eric Hou
The first way of determining that drift is occurring is by measuring it directly. A drift measurement is initiated in one of two ways:
10 1 Amber Herold
11
12 3 Eric Hou
* The user may manually monitor drift in the DriftManager node. This can be either a single measurement of the current drift rate or a loop that measures the drift rate until it falls below a threshold set in the DriftManager settings dialog.
13 1 Amber Herold
14
15 3 Eric Hou
* The Focus node can request drift monitoring in preparation for doing auto focus. If drifting is in progress, DriftManager enters a measurement loop until drift falls below the threshold and declares that a drift has occured
16 1 Amber Herold
17 3 Eric Hou
Drifting can also be assumed to have occurred without doing a measurement. This is done as a result of certain operations of Leginon:
18 1 Amber Herold
19 3 Eric Hou
* When stage Z position is changed, there is often a side effect of X and Y position shifting also. Drift is always declared after stage Z correction is made in a focus sequence.
20 1 Amber Herold
21 3 Eric Hou
*  When in queuing mode, it is often desirable to assume that drift has occured whenever a queue of targets is submitted. This is due to the possible long time durations and large stage movements. There is an option in each targeting node to "Declare drift when queue submitted".
22 1 Amber Herold
23 3 Eric Hou
* Sometimes targeting accuracy is failing because the image from which the targets were selected was acquired using a preset with a bad image shift. The targets can be corrected using the following method: pause the processing of the targets, adjust the image shift of the bad preset, declare drift in DriftManager, continue processing the targets. The image shift adjustment will be treated as a drift and the targets will be corrected.
24 1 Amber Herold
25 3 Eric Hou
* When various environmental factors have changed that the user thinks have caused a drift. One example is filling up the liquid nitrogen dewar. In this case, the user must click the "Declare Drift" button in the DriftManager node.
26 1 Amber Herold
27 3 Eric Hou
In the above cases, whether drift is measured or assumed, a drift time stamp is entered into the database to mark when the drift occured. Acquisition nodes have an option "Adjust targets for drift" which causes them to look for these drift time stamps before processing a target and acquiring an image. If a drift occured after the target was created, the target is declared invalid. To adjust the target, the Acquisition node must send a request to the DriftManager to measure the total drift that has occurred since the target was created. The
28
DriftManager will load the target's parent image from the database and reacquire it under its original imaging conditions as a different version. The correlation shift is then stored in the database so that any target that came from this image can be adjusted in the same way.
29 1 Amber Herold
30
Initiating drift monitoring by a focuser node requires two bindings to do such
31
task.
32
33
<simplelist type="vert">
34
<member> FocuserNode - (DriftMonitorRequestEvent) -> DriftManagerNode</member>
35
<member> DriftManagerNode - (DriftMonitorResultEvent) -> FocusNode</member>
36
</simplelist>
37
38
For DriftManager to change presets, two bindings are needed:
39
40
<simplelist type="vert">
41
<member> DriftManagerNode - (ChangePresetEvent) -> PresetsManagerNode</member>
42
<member> PresetsManagerNode -(PresetChangedEvent) -> DriftManagerNode</member>
43
</simplelist>
44
45
46
</highlights>
47
48
49
h2.  Settings
50
51
52
53
*  Wait for drift to be less than "3e-10" m = the distance threshold for drift
54
checking to stop. A drift above the threshold will cause the Drift Manager to continue
55
to monitor drift.
56
57
58
*  Wait "2.5" seconds between checking drift = the amount of time paused between
59
acquisition of images to measure drift. This applies to requests from Focuser nodes,
60
too.
61
62
63
*  the typical <link linkend="camconfig">Instrument and Camera
64
Configuration</link>
65
66
67
68
69
70
71
72
73
74
h2.  Toolbar
75
76
77
78
*  Measure Drift = stand alone button to quickly and manually assess drift
79
once.
80
81
82
*  Check Drift = stand alone button to start drift monitoring sequence.
83
84
85
*  Abort = this will abort the Drift Manager drift monitoring sequence.
86 2 Amber Herold
87
88
89
90
91
______
92
93
[[Dose Calibrator|< Dose Calibrator]] | [[The EM node|The EM node >]]
94
95
______