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