Troubles with Focusing and Drift Check » History » Version 3
Eric Hou, 06/24/2010 02:37 PM
1 | 1 | Amber Herold | h1. Troubles with Focusing and Drift Check |
---|---|---|---|
2 | |||
3 | 3 | Eric Hou | h2. Focuser and drift manager toggle back and forth forever |
4 | 1 | Amber Herold | |
5 | 3 | Eric Hou | Commonly Why: Threshold set in focuser/autofocus is significantly smaller than that in drift manager in absolute scale. This is a bug in Leginon to some extend caused by a small movement of the image when the a new state of the beam is set so that the focuser records bigger drift than the drift manager. |
6 | 1 | Amber Herold | |
7 | 3 | Eric Hou | Solution: Increase Focuser/Autofocus Drift Threshold and/or increase the wait time between checking drift in Drift Manager. |
8 | 1 | Amber Herold | |
9 | Still not working: Despike might not work in the corrector |
||
10 | |||
11 | 3 | Eric Hou | Solution: Consider increasing Despike neighbor size (odd number only) or decreasing despike threshold. |
12 | 1 | Amber Herold | |
13 | 3 | Eric Hou | Still not working: You are on a day with a lot of cosmic events that cause the cross correlation fails. |
14 | 1 | Amber Herold | |
15 | 3 | Eric Hou | Solution: Finding a way to reduce exposure time might help as it reduces the possibility of cosmic ray hitting the CCD. |
16 | 1 | Amber Herold | |
17 | h2. Failed autofocus in Focus node |
||
18 | |||
19 | Commonly Why: |
||
20 | 3 | Eric Hou | |
21 | 1 | Amber Herold | * The actual defocus is outside of measurable range. |
22 | |||
23 | 3 | Eric Hou | * No image contrast for correlation due to thick ice, no ice and support film, or at Gaussian focus |
24 | 1 | Amber Herold | |
25 | 3 | Eric Hou | * Stage drift, charging, or ice melts during the focus measurement. All three cause change in images not accountable by beam tilt induced image shift. |
26 | 1 | Amber Herold | |
27 | 3 | Eric Hou | * Artifacts in the images such as spikes not corrected by the corrector node that fool the correlation procedure to consider the image is never moved or moved a lot. |
28 | 1 | Amber Herold | |
29 | * Bad rotaion center and beam tilt pivot point alignment |
||
30 | |||
31 | * <link linkend="focdark">Objective aperture is off alignment</link>. |
||
32 | |||
33 | * Bad calibration |
||
34 | |||
35 | Solutions: |
||
36 | 3 | Eric Hou | |
37 | 1 | Amber Herold | * Out of range: |
38 | |||
39 | 3 | Eric Hou | ** Make sure that the lower mag autofocus, i.e., Z focus node, is preformed successfully by observing its progress, and, if necessary, adjust the stage height in its Manual focus tool. |
40 | 1 | Amber Herold | |
41 | 3 | Eric Hou | ** Make sure that Z Focus node autofocus accuracy is compatible with the Focus node. For example, Z Focus at 5000x has an accuracy of +/- 5 um and Focus at 50,000x can handle range up to about +/- 10 um. |
42 | 1 | Amber Herold | |
43 | 3 | Eric Hou | ** Choose a flater grid square. |
44 | 1 | Amber Herold | |
45 | |||
46 | |||
47 | |||
48 | * For thick ice |
||
49 | |||
50 | |||
51 | * Leginon/Focus/Settings/Autofocus> Increase the ice melt time in autofocus |
||
52 | setting |
||
53 | |||
54 | |||
55 | * Leginon/Exposure Targeting/Hole Targeting Setting/Target Template/Focus |
||
56 | Template Thickness> Adjust allowed ice thickness values to pick focus target in |
||
57 | area with thinner ice |
||
58 | |||
59 | |||
60 | * Leginon/Presets Manager> reduce "fa" preset CCD binning and/or increase |
||
61 | exposure time. |
||
62 | |||
63 | |||
64 | * Bad rotaion center and beam tilt pivot point alignment |
||
65 | |||
66 | |||
67 | * Bad calibration |
||
68 | |||
69 | |||
70 | |||
71 | |||
72 | * For stage drift during the procedure |
||
73 | |||
74 | |||
75 | * Leginon/Focus/Settings/Autofocus> Reduce drift check threshold. |
||
76 | |||
77 | |||
78 | |||
79 | |||
80 | * For charging during the procedure |
||
81 | |||
82 | |||
83 | * Leginon/Exposure Targeting> Pick targets away from ice chunk, grid bar, and |
||
84 | large ice gradient. |
||
85 | |||
86 | |||
87 | |||
88 | |||
89 | * For ice melting during the procedure |
||
90 | |||
91 | |||
92 | * Leginon/Focus/Settings/Autofocus> Increase ice melt time |
||
93 | |||
94 | |||
95 | |||
96 | |||
97 | * For image spikes |
||
98 | |||
99 | |||
100 | * Leginon/Correction> Adjust despike parameters |
||
101 | |||
102 | |||
103 | * Leginon/Correction> Reduce exposure time? Might reduce number of random |
||
104 | event |
||
105 | |||
106 | |||
107 | |||
108 | |||
109 | |||
110 | |||
111 | |||
112 | |||
113 | |||
114 | |||
115 | h2. Failed autofocus in Z Focus node |
||
116 | |||
117 | |||
118 | |||
119 | Commonly Why: |
||
120 | * The stage height relative to Eucentric point is outside of measurable range due to |
||
121 | very uneven grid or stage far away from U-center. |
||
122 | |||
123 | |||
124 | * Empty area or area with very thick ice, or at Gaussian focus |
||
125 | |||
126 | |||
127 | * Objective aperture is off alignment. |
||
128 | |||
129 | |||
130 | * Bad recorded eucentric focus. |
||
131 | |||
132 | |||
133 | * Bad rotaion center and beam tilt pivot point alignment |
||
134 | |||
135 | |||
136 | * Bad calibration |
||
137 | |||
138 | |||
139 | To identify which is the source, observe the image, correlation, and peak |
||
140 | during beam tilt autofocusing. Also check in the log the residual value (so called min) of |
||
141 | the fitting. |
||
142 | |||
143 | |||
144 | * Image has very good contrast but features are completely different from one tilt |
||
145 | image to the next-Out of range. |
||
146 | |||
147 | |||
148 | * No image contrast or correlation peaks move randomly-empty or thick ice, or at |
||
149 | Gaussian focus |
||
150 | |||
151 | |||
152 | * Contrast reverse in the holes relative to the support matrix in one or more beam |
||
153 | tilt images-Objective aperture is off alignment. |
||
154 | |||
155 | |||
156 | * If you know that the stage is at U-center, but the images appear to be strongly |
||
157 | defocused-Recorded eucentric focus is incorrect. |
||
158 | |||
159 | |||
160 | * Correlation peaks are well defined but fitting fails-Bad rotaion center and beam |
||
161 | tilt pivot point alignment, or bad calibration. |
||
162 | |||
163 | |||
164 | |||
165 | |||
166 | Solutions: |
||
167 | * Out of range: |
||
168 | |||
169 | |||
170 | * U-center the stage before the run and when Z focus fails. |
||
171 | |||
172 | |||
173 | * Activate Manual Check after autofocus to make adjustment in stage Z |
||
174 | height. |
||
175 | |||
176 | |||
177 | * For expert user: Add another focus step before the current autofocus step at |
||
178 | even lower magnification for a larger range usability. For example, use sq preset. |
||
179 | You will need to perform a calibration with Beam Tilt node in the Calibration |
||
180 | application. |
||
181 | |||
182 | |||
183 | |||
184 | |||
185 | * Empty area or thick ice: |
||
186 | |||
187 | |||
188 | * Pick better focus target. |
||
189 | |||
190 | |||
191 | * Leginon/Z Focus/Hole Targeting Settings/Ice Thickness Threshold/Focus Hole |
||
192 | Selection> Consider using "Good hole" rather than "Any hole". |
||
193 | |||
194 | |||
195 | |||
196 | |||
197 | * At Guassian focus: |
||
198 | |||
199 | |||
200 | * There is no problem, don't worry. |
||
201 | |||
202 | |||
203 | |||
204 | |||
205 | * Bad recorded eucentric focus |
||
206 | |||
207 | |||
208 | * Leginon> send to scope the preset used to autofocus in Z Focus node (i.e., |
||
209 | hl in MSI). |
||
210 | |||
211 | |||
212 | * TEM> Adjust the stage to U-center. |
||
213 | |||
214 | |||
215 | * TEM> Focus the image and reset defocus. |
||
216 | |||
217 | |||
218 | * Leginon/Z Focus> start Manual focus tool. |
||
219 | |||
220 | |||
221 | * Leginon/Z Focus/Manual Focus> send 0 defocus to scope. |
||
222 | |||
223 | |||
224 | * Leginon/Z Focus/Manual Focus> save "Eucentric focus from |
||
225 | Instrument". |
||
226 | |||
227 | |||
228 | |||
229 | |||
230 | * Bad rotation center and beam tilt pivot point alignment: |
||
231 | |||
232 | |||
233 | * Make sure you are at the eucentric focus during the alignment. |
||
234 | |||
235 | |||
236 | |||
237 | |||
238 | * Bad alignment on objective aperture: |
||
239 | |||
240 | |||
241 | * <link linkend="focdark">Center the objective aperture in diffraction |
||
242 | mode</link>. |
||
243 | |||
244 | |||
245 | |||
246 | |||
247 | |||
248 | |||
249 | |||
250 | |||
251 | |||
252 | |||
253 | h2. Objects reverse contrast during autofocus |
||
254 | |||
255 | |||
256 | |||
257 | In this case of autofocus failure, objects such as holes change from lighter than matrix |
||
258 | to darker as if a dark-field image is collected during the autofocus beam tilts. |
||
259 | |||
260 | |||
261 | Commonly Why: |
||
262 | * The objective aperture is off. |
||
263 | |||
264 | |||
265 | * Bad rotation center and beam tilt pivot point alignment. |
||
266 | |||
267 | |||
268 | |||
269 | |||
270 | |||
271 | Solutions: |
||
272 | * Align objective aperture at mags where autofocus is performed in HM mode. Here is |
||
273 | how: |
||
274 | |||
275 | |||
276 | * TEM>Make sure the rotation center is correct. |
||
277 | |||
278 | |||
279 | * TEM>Change the mag to that of the autofocus preset that shows the |
||
280 | problem. |
||
281 | |||
282 | |||
283 | or |
||
284 | |||
285 | |||
286 | Leginon/Presets Manager>Send the autofocus preset. |
||
287 | |||
288 | |||
289 | * Imaging an area that have scattering matter such as with ice or |
||
290 | carbon. |
||
291 | |||
292 | |||
293 | * TEM>Press the diffraction button to go into diffraction mode. |
||
294 | |||
295 | |||
296 | * TEM>Use the Mag adjustment knob to change diffraction distance to ~1 |
||
297 | m. |
||
298 | |||
299 | |||
300 | * TEM>You should see a bright and condensed image of your imaging area which |
||
301 | would condenses to a point if you are right at focus (adjust with focus knob). The |
||
302 | faint disk outside of the bright area defines the opening of the objective |
||
303 | aperture. Center the image using the MULTIFUNCTION KNOBS if you can not see the |
||
304 | edge. Move the STAGE to area with more scattering matter if the faint disk is not |
||
305 | visible. |
||
306 | |||
307 | |||
308 | * TEM>Physically move the aperture so the faint disk is centered on the |
||
309 | bright image. |
||
310 | 2 | Amber Herold | |
311 | |||
312 | |||
313 | ______ |
||
314 | |||
315 | [[Troubles with Targeting|< Troubles with Targeting]] | [[Troubles with Calibrations - Troubleshooting|Troubles with Calibrations >]] |
||
316 | |||
317 | ______ |