Project

General

Profile

Focuser » History » Version 6

Anchi Cheng, 05/14/2012 06:35 PM

1 1 Amber Herold
h1. Focuser
2
3 5 Amber Herold
The Focuser node is responsible for focusing. Focus sequence determines the sequence of focus steps that can be applied to the focus target the node received. For each item in the sequence, a preset is chosen for imaging and the method of focus (Autofocus or Manual focus) is selected. For autofocus method, defocus and astigmation are measured by beam tilt induced image shift. Alternatively distance from the eucentric height is measured by two opposite stage alpha tilts. The correction type then determines which and how the correction is made. Manual
4
focus, either through a z height or defocus change, is possible. Eucentric focus can be send to/received form the scope, and the user can also reset current zero defocus. Note that when stage z is used for focus correction, drift is declared automatically so that the drift manager can handle the position change properly.
5 1 Amber Herold
6 5 Amber Herold
When the stage is tilted significantly, distortion of the image occurs when beam is tilted. Cosine stretching (Ziese et al. 2003 J. Microscopy 211,179-185) boosts the correlation peak during autofocusing. In addition, a defocus offset is made according to the tilt geometry so that equivalent level of defocus is achieved with image shift at any targeted location. This correction is made automatically.
7 1 Amber Herold
8 5 Amber Herold
*Required bindings to Presets Manager:*
9 1 Amber Herold
10 3 Eric Hou
FocuserNode - (ChangePresetEvent) -> PresetsManagerNode
11
PresetManagerNode - (PresetChangedEvent) -> FocuserNode
12 1 Amber Herold
13 5 Amber Herold
Focuser normally receives rejected target list from acquisition node rather than from a TargetFinderNode Class although it is possible, too.
14 3 Eric Hou
15 1 Amber Herold
AcquisitionNodeAlias - (ImageTargetListPublishEvent) -> FocuserNode
16
FocuserNode - (TargetListDoneEvent) -> AcquisitionNodeAlias
17 3 Eric Hou
18 5 Amber Herold
*For the focuser that initiates drift monitoring, two bindings are needed:*
19
20 3 Eric Hou
FocuserNode - (DriftMonitorRequestEvent) -> DriftManagerNode
21
DriftManagerNode - (DriftMonitorResultEvent) -> FocusNode
22 1 Amber Herold
23 5 Amber Herold
*Required Bindings to use drift check image for auto focusing:*
24 1 Amber Herold
25 3 Eric Hou
DriftManagerNode - (AcquisitionImagePublishEvent) -> RCTNode
26 1 Amber Herold
27 5 Amber Herold
*Bindings needed if to be Fourier transformed:*
28 1 Amber Herold
29 3 Eric Hou
FocuserNode- (AcquisitionImagePublishEvent) ->FFTMakerNode
30 1 Amber Herold
31 5 Amber Herold
*Focuser node may need target shift correction upon drift:*
32 1 Amber Herold
33 4 Eric Hou
FocuserNode - (NeedTargetShiftEvent) - > DriftManagerNode
34 3 Eric Hou
DriftManagerNode-(AcquisitionImageDriftPublishEvent) -> FocuserNode
35 1 Amber Herold
36 5 Amber Herold
*Optional Bindings with Navigator to allow (iterative) target move correction:*
37 1 Amber Herold
38 3 Eric Hou
AcquisitionNodeAlias - (MoveToTargetEvent) -> NavigatorNodeAlias
39 1 Amber Herold
40
h2.  Toolbar
41
42
*  Settings = set acquisition and ice melting parameters
43
44
*  Focus Sequence = set sequence and focus parameters
45
46
*  Play|Pause|Abort = Restart|Pause|Abort focus target processing.
47
48 3 Eric Hou
*  Simulate Target|LoopPlay|LoopAbort= Single acquisition|Multiple acquisition with time delay|Stop multiple acquisition of a simulate target
49 1 Amber Herold
50 3 Eric Hou
*  Browse Image= Load an image and publish it from this node and pass on for processing.
51 1 Amber Herold
52 6 Anchi Cheng
*  Manual Focus = open the Manual Focus (continuous image acquisition) display to manually correct defocus or stage z !http://emg.nysbc.org/software/leginon/images/icons/manualfocus.png!
53 1 Amber Herold
54 3 Eric Hou
*  Align Rotation Center = use the current autofocus calibration to align the rotation center beam tilt.
55 1 Amber Herold
56
h2.  Settings
57
58 4 Eric Hou
*  See [[Acquisition|Acquisition node Settings]]
59 1 Amber Herold
60 6 Anchi Cheng
*  Manual focus tool preset = the preset used for manual focus tool described in the Tool section. This is independent to manual focusing in the focus sequence (new in version 2.2).  The pixel size after binning, if any, should be small so that low-defocus can be read.
61
62
*  Melt preset = preset used to melt the ice.  The beam should be strong and does not need to cover the detector since it is not used for image acquisition.
63 3 Eric Hou
*  Ice melt time (s) = time the acuisition preset will be fixed over the carbon of an ice grid in order to melt the ice for a better autofocus result. The main screen is lowered to protect th CCD during the long exposure.
64 1 Amber Herold
65 3 Eric Hou
*  Acquire final image = enabled means the acquisition image will be acquired after completion of all focus sequence.
66 1 Amber Herold
67
h2.  Focus Sequence Settings
68
69
*  Sequence = add and select the sequence item to which the settings apply.
70
71
*  Enable = perform the focusing function of the selected sequence item.
72
73
*  Preset = select the preset used in the focusing.
74
75
*  Focuse method = Manual | Beam Tilt | Stage Tilt
76
77
*  Autofocus
78
79 4 Eric Hou
 ##  Beam tilt (mrad if Beam Tilt; degree if Stage Tilt)= the amount the tilt will be when running the autofocus routine
80
 
81
 ##  Use "phase or cross" correlation to register image shift in the autofocus
82
 
83
 ##  Fit limit = refers to the fitting residual in the tilt induced image shift equation that determines the defocus and astigmation. If no stigmator calibration was done, the limit need to be higher.
84
 
85
 ##  Correction type = Defocus | None | Stage Z
86
 
87
 ##  Check for drift greater than "3e-10" meters/s (off by default)
88
 
89
 ##  Stigmator correct = enabled means that astigmatism will be corrected
90
 
91
 ##  Stigmator Defocus Min/Max = minimum and maximum defocus values (m) used for correcting the astigmatism
92 1 Amber Herold
93
h2.  Manual Focus
94
95
*  Settings:
96
97 3 Eric Hou
- Mask radius: "1" % of image = center percentage of FFT that is masked out in order to see the FFT easier on the screen
98 1 Amber Herold
99 3 Eric Hou
- Icrement: 5e-7 m = the incremental amount of defocus or stage z change 
100 1 Amber Herold
101
*  Play = restart continous image acquisition
102
103
*  Pause = pause the continous image acquistion
104
105
*  Stop = stop the continuous image acquisition
106
107
*  "Defocus | Stage Z" = correction options
108
109
*  Plus | Minus = increment by Defocus or Stage Z
110
111
*  <blank> m = value that can be set with Set Instrument button
112
113
*  Set Instrument = send the above defocus/stage Z value to the microscope
114
115
*  Reset Defocus = reset the defocus to zero at the microscope
116
117 3 Eric Hou
*  Eucentric from instrument = save eucentric height value from the microscope
118 1 Amber Herold
119 3 Eric Hou
*  Eucentric to instrument = send the saved Leginon eucentric height to the microscope
120 1 Amber Herold
121
*  Image = show the current image
122
123
*  Power = show the FFT of the current image
124
125
h2.  Align Rotation Center
126 2 Amber Herold
127 3 Eric Hou
*  Align the beam tilt to the rotation center based on the current defocus/stigmator calibration.
128 2 Amber Herold
129
______
130
131
[[FFT Maker|< FFT Maker]] | [[Gon Modeler|Gon Modeler >]]
132
133
______