Running the application » History » Version 3
Amber Herold, 06/18/2010 03:42 PM
1 | 1 | Amber Herold | h1. Running the application |
---|---|---|---|
2 | |||
3 | |||
4 | |||
5 | h2. Import Notes about Image Intensity Recorded through |
||
6 | Tomography Node |
||
7 | |||
8 | |||
9 | |||
10 | Tomography node save the images in a different format from other Acquisition nodes. By |
||
11 | default, the flat-field correct CCD counts are multiplied by 10 and converted to signed |
||
12 | 16-bit integer before the image is displayed and saved. This makes CCD counts of 3276.8 or |
||
13 | larger overflow to negatives. Other Leginon Acquisition images are saved as float without |
||
14 | manipulation. |
||
15 | |||
16 | |||
17 | To avoid this problem, find out what exposure time corresponds to the fractionated dose |
||
18 | from your tilt angle step and range and total dose and take an image at tomo preset with |
||
19 | such an exposure in Navigation node. You will need to reduce the total dose if a good |
||
20 | fraction of the counts are larger than 3200 even though it would not appear to be saturated |
||
21 | in the float scale without the 10x factor. Alternatively, change the scale factor in |
||
22 | Tomography node. |
||
23 | |||
24 | |||
25 | |||
26 | |||
27 | |||
28 | h2. Multiscale Imaging |
||
29 | |||
30 | |||
31 | |||
32 | * Preset image shift alignment/beam shift alignment are the same as in MSI |
||
33 | application |
||
34 | |||
35 | |||
36 | * New dark/bright references should be reaquired for "tomo" preset that acquires the |
||
37 | final data. It is best to do this at the same dose per tomography image calculated from |
||
38 | the total dose, the tilt parameters, and the dose measurement. |
||
39 | |||
40 | |||
41 | * For best focusing result, perform autofocus at the same magnification as the |
||
42 | tomography data collection, align microscope well at the eucentric focus and the |
||
43 | rotation center and save them before data collection. |
||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | h2. Using Tomography Preview |
||
52 | |||
53 | |||
54 | |||
55 | * Preview targets (pink) can be selected when selecting targets in "Tomography |
||
56 | Targeting" |
||
57 | |||
58 | |||
59 | * When the targets are processed, targets that are of the type "preview" are |
||
60 | processed before focus and acquisition targets. |
||
61 | |||
62 | |||
63 | * Tomography Preview node acquires a image at the preview target using "preview" |
||
64 | preset which should be set at minimal dose. |
||
65 | |||
66 | |||
67 | |||
68 | |||
69 | |||
70 | |||
71 | |||
72 | h2. Dose Measurement |
||
73 | |||
74 | |||
75 | |||
76 | If "Measure Dose before collection" is checked in Tomography node, the stage will be |
||
77 | moved to the reference target and a dose image of the "tomo" preset will be acquired (center |
||
78 | 512x512 of whateven binning of the preset) before each tilt series if the interval between |
||
79 | the series is longer than the limit time set in the settings of Dose Measurement node. The |
||
80 | measured value will then be used to recalculate the proper exposure time for tomography |
||
81 | imaging. |
||
82 | |||
83 | |||
84 | For this function to behave properly, the followings should be done during |
||
85 | operation: |
||
86 | |||
87 | |||
88 | * One, and only one, "reference" target should be selected in either "Square |
||
89 | Targeting" or "Hole Targeting" or "Tomography Targeting" node. The reference target |
||
90 | should be of either a broken square or a empty hole if no broken square can be |
||
91 | found. |
||
92 | |||
93 | |||
94 | * "Measure Dose" before collection should be selected in Tomography node. |
||
95 | |||
96 | |||
97 | * "Exposure time max/min" in Tomography node should be in a range that can accommodate |
||
98 | the electron beam fluctuation over time. |
||
99 | |||
100 | |||
101 | |||
102 | |||
103 | |||
104 | |||
105 | |||
106 | h2. Align Zero Loss Peak |
||
107 | |||
108 | |||
109 | |||
110 | This function applies only to Gatan energy filter EFTEM. If "Align ZLP before |
||
111 | collection" is checked in Tomography node, the stage will be moved to the reference target |
||
112 | and starts the procedure to align zero loss peak before each tilt series if the interval |
||
113 | between the series is longer than the limit time set in the settings of Dose Measurement |
||
114 | node. |
||
115 | |||
116 | |||
117 | For this function to behave properly, the followings should be done during |
||
118 | operation: |
||
119 | |||
120 | |||
121 | * One, and only one, "reference" target should be selected in either "Square |
||
122 | Targeting" or "Hole Targeting" or "Tomography Targeting" node. The reference target |
||
123 | should be of either a broken square or a empty hole if no broken square can be found. |
||
124 | This is the same reference target used for dose measurement. |
||
125 | |||
126 | |||
127 | * "Align ZLP" before collection should be selected in Tomography node. |
||
128 | |||
129 | |||
130 | |||
131 | |||
132 | |||
133 | |||
134 | |||
135 | h2. Low Magnification Model Fitting |
||
136 | |||
137 | |||
138 | |||
139 | The fitting of optical axis offset does not always works if the offset is so large that |
||
140 | the feature moves out of view with even a small tilt. In such a case, it is worth first |
||
141 | collect a tomography series at a lower magnification to define roughly the model. |
||
142 | |||
143 | |||
144 | At beginning of each session, or forced by the user, the model is initialized. By |
||
145 | default, at the initialization, Tomography node uses past fitting results that show good |
||
146 | agreement with the experimental data at the magnification of the preset used. If a good |
||
147 | model is not found, that from lower magnifications will be used. It is possible to force the |
||
148 | node to use a model fitted at a particular magnification by selecting it in |
||
149 | Tomography/Settings/Model. |
||
150 | |||
151 | |||
152 | Therefore, we recommend that, in case of fitting failure on good contrast images, the |
||
153 | followings should be done: |
||
154 | |||
155 | |||
156 | 3 | Amber Herold | # Tomography/Settings/Image Acquisition> change the preset to "hl". |
157 | # Tomography/Settings> adjust Tilt and Exposure parameters to match. |
||
158 | # Acquire the tiltseries images. |
||
159 | # If the tracking is good, change the preset back. |
||
160 | # Tomography/Settings/Model> Initialize with the model of (the mag of "hl" |
||
161 | 1 | Amber Herold | preset). |
162 | 3 | Amber Herold | # Acquire the tomo-series. |
163 | # If tracking is good, change back to Initialize with the model of "this preset and |
||
164 | 1 | Amber Herold | lower" mag. |
165 | |||
166 | |||
167 | |||
168 | |||
169 | |||
170 | |||
171 | |||
172 | h2. What is a Good Tilt-Axis Model? |
||
173 | |||
174 | |||
175 | |||
176 | The goniometer-tilt-axis-based tracking model developped by Zheng et. al. corrects the |
||
177 | speciman height (z-axis) by a change of defocus using measured shift of feature shifts in |
||
178 | the images (x and y-axes). The tracking in the x and y directions does not involve the use |
||
179 | of such model, but is done by smooth curve fitting or preceeding tilts. Therefore, to judge |
||
180 | the adequacy of the model, one should check the resulting defocii of the images in the |
||
181 | series remain unchanged. |
||
182 | |||
183 | |||
184 | On the other hand, the feature tracking in x and y is likely to fail only if the tilting |
||
185 | does not induce a smooth shift of the imaging feature a sudden drop of specimen position at |
||
186 | a particular tilt angle often throws off the smooth curve fitting. It is possible to reduce |
||
187 | such effect by increasing the number of data points included in the smoothing as set in the |
||
188 | model section of the tomography node settings window. Otherwise, the goniometer need to be |
||
189 | serviced. |
||
190 | |||
191 | |||
192 | |||
193 | |||
194 | |||
195 | h2. Checking and Improving Tilt-Axis Model |
||
196 | |||
197 | |||
198 | |||
199 | Test runs should be done at the magnification, defocus, and tilts up to the highest |
||
200 | values planned for the real ones with a specimen with isotropic features in view and |
||
201 | adjusted to eucentric height. Tilt steps should be made to allow at least 15 images taken |
||
202 | per tilt direction. |
||
203 | |||
204 | |||
205 | |||
206 | h2. First Test Run: Fixed Model |
||
207 | |||
208 | |||
209 | |||
210 | The first time the tomography application is used on a microscope, all model |
||
211 | parameters are default to zero. A test run should be done with the specimen at eucentric |
||
212 | height and all default settings including "keep the tilt axis parameters fixed" activated. |
||
213 | If the feature tracking is good, and the defocii of the images in the tilt series do not |
||
214 | significantly changed, the goniometer behavior and camera alignment are close to ideal, |
||
215 | and no improvement of the model is required. |
||
216 | |||
217 | |||
218 | If the xy tracking deteriorates quickly in the first few tilts, the magnification |
||
219 | should be dropped so that tracking is possible through out the tilt series. Once a rough |
||
220 | model is established, refinement can then be done at higher magnifications. |
||
221 | |||
222 | |||
223 | |||
224 | |||
225 | |||
226 | h2. Runs to Improve the Model-Fitting |
||
227 | |||
228 | |||
229 | |||
230 | A complete tilt model fitting is difficult with small number of data points or at only |
||
231 | low tilts. Therefore, two tilt series need to be taken in order to get a good averaged |
||
232 | model that is later fixed. |
||
233 | |||
234 | |||
235 | * tomography/settings/model>deactivate "keep the tilt axis parameters |
||
236 | fixed". |
||
237 | |||
238 | |||
239 | * tomography/settings/model>initialize the model with "this preset only" unless |
||
240 | this is a refinement of <link linkend="Tomo_low_mag_fitting">a rough model obtained at |
||
241 | a lower magnification</link>, in which case, initialize the model with "this preset |
||
242 | and lower mags". |
||
243 | |||
244 | |||
245 | * tomography/toolbar>click on "reset learning" !http://emg.nysbc.org/software/leginon/images/icons/refresh.png! to have |
||
246 | a fresh start of tilt series data included in the fitting. |
||
247 | |||
248 | |||
249 | * Presets Manager>send the "tomo" preset to scope. |
||
250 | |||
251 | |||
252 | * tomography>Start the tilt series image collection by clicking on "Simulated |
||
253 | Target" tool. |
||
254 | |||
255 | |||
256 | * repeat 4 and 5 to dynamically fit the model the second time if the first one goes |
||
257 | to completion. |
||
258 | |||
259 | |||
260 | If the target shifts away during the run, reduce the magnification, repeat 1 |
||
261 | through 9 in this procedure and then return to the higher, intended mag and refined |
||
262 | the model using the same procedure and proper setting for refinement as mentioned in |
||
263 | 2. |
||
264 | |||
265 | |||
266 | * Check on web image viewer to see if the result of the second run in step 6 |
||
267 | produces images of constant defocus through out each half of the tilt seriese. |
||
268 | |||
269 | |||
270 | * If the model is good, activate "keep the tilt axis parameters fixed" in the |
||
271 | tomography settings. |
||
272 | |||
273 | |||
274 | * Repeat step 2. Other than reset the learning, the tool produces an output of image |
||
275 | shift you should copy down and apply to the "tomo" preset in the future runs. |
||
276 | |||
277 | |||
278 | |||
279 | |||
280 | |||
281 | |||
282 | |||
283 | |||
284 | |||
285 | h2. Understand the results of the model fitting |
||
286 | |||
287 | |||
288 | |||
289 | In the above procedure does not yield a good model, it is necessary to study the graphs |
||
290 | output by the run to determine possible causes and derive the best fixed model that at least |
||
291 | work for most angles. |
||
292 | |||
293 | |||
294 | Figure 1 shows a typical result from the first dynamically fitted tilt series run. x and |
||
295 | y axes contains the tilt axis and are referenced to columns and rows on the images acquired. |
||
296 | z-axis is parallel to the electron beam. The "Prediction" data in the x and y-axis plot is |
||
297 | the extrapoloted result of the smooth curve fitting from preceeding (usually 4) tilts to the |
||
298 | current tilt angle. The "Position" is where features on the specimen end up to be relative |
||
299 | to the origin of the image shift at the scope as determined by correlation of images. Both |
||
300 | "Prediction" and "Position" are expressed in microns. The "Feature" is the shift of the |
||
301 | feature on the image. It corresponds to the difference between "Prediction" and "Position" |
||
302 | and is expressed in pixels of the image acquired. The z-axis "Prediction" is the correction |
||
303 | of defocus, i.e., specimen z-height change, the current model suggests and applied for each |
||
304 | tilt angle to keep the specimen focused. Originally, it is possible to measure defocus at |
||
305 | each tilt and obtain "Measured" values in this plot. However, the function is currently |
||
306 | disabled because the procedure does give accurate results. |
||
307 | |||
308 | |||
309 | According to the Zheng et. al. model, the tilt-axis can be characterized by three |
||
310 | parameters: phi, the angle between the tilt axis and the detector x axis (column), offset, |
||
311 | the distance between the center of the detector and the tilt axis on the xy plane, and z0, |
||
312 | the distance between the specimen from the xy plane that contains the tilt axis. If the tilt |
||
313 | axis is parallel to x-axis of the detector, and that the model does not change through the |
||
314 | tilt series, y-axis(row) "Prediction" and "Position" should remain constant. While the same |
||
315 | values for x-axis follows a cosine curve as it tilts if the only deviation from the ideal |
||
316 | model is an offset of the tilt axis from detector center in x-direction (non-zero offset). |
||
317 | On the other hand, if the only deviation the ideal model is an offset in z direction |
||
318 | (non-zero z0) |
||
319 | |||
320 | |||
321 | As a first tilt series used in the model fitting, the data is not fitted until it |
||
322 | accumulate enough data points and spead over more tilts. We arbitrarily select 30 degrees as |
||
323 | the starting angle where the fit is started. As can be seen in Figure 1, the model is |
||
324 | significantly different from the initial as z-axis "Prediction" jumps once the fitting is |
||
325 | started. In particular, the model z0 which corresponds to the offset of the specimen from |
||
326 | the tilt axis in z direction dominates deviation. Such problem is evident by the |
||
327 | near-straight line feature shift in x-axis ove more than 1 um. There is also some offset in |
||
328 | x direction since the "Prediction" and "Position" flattens somewhat as it approaches zero |
||
329 | tilt. The tilt axis has minimal tilt from x-axis since in the y-direction, despite the bump |
||
330 | at about 40 degrees, the range of variation in the whole tilt series is about 0.06 |
||
331 | um. |
||
332 | |||
333 | |||
334 | Figure 1!http://emg.nysbc.org/software/leginon/images/images/tomoxyz1.png! |
||
335 | |||
336 | |||
337 | By activate "show model parameters" check box in the viewer, more plots are shown |
||
338 | (Figure 2). phi and "optical axis" offset remain fixed below 30 deg while z0 is recalculated |
||
339 | at each tilt. As you can see, the fitting of the former two parameters are not very stable |
||
340 | in this first trial. Therefore, we need to do the second run. |
||
341 | |||
342 | |||
343 | Figure 2!http://emg.nysbc.org/software/leginon/images/images/tomomodel1.png! |
||
344 | |||
345 | |||
346 | Figure 3 shows the z-axis plot of the second run since the x and y does not change |
||
347 | significantly. Figure 4 shows its corresponding model parameters. The zero and first tilt |
||
348 | uses the initial model and the rest are fitted dynamically. In this run, because more than |
||
349 | one tilt series is found in the memory since last "reset learning", the model fitting starts |
||
350 | after the first tilt image is acquired. model parameters are rather stable over the whole |
||
351 | tilt series and suggests that the tilt axis is tilted from x-axis by about -1.3 degree, and |
||
352 | offset from the center of the detector by -0.6 um, and the specimen is off from eucentric |
||
353 | height by about -0.7 um |
||
354 | |||
355 | |||
356 | Figure 3!http://emg.nysbc.org/software/leginon/images/images/tomoz2.png! |
||
357 | |||
358 | |||
359 | Figure 4!http://emg.nysbc.org/software/leginon/images/images/tomomodel2.png! |
||
360 | |||
361 | |||
362 | |||
363 | |||
364 | Although it is not possible to maintain perfect defocus prediction in the full range of |
||
365 | the tilt by using a fixed model, we found that the overall performance is better if an |
||
366 | average tilt axis model that works well in the mid-range tilt is used as a fixed model. For |
||
367 | example, for the behavior in the above figure, we choose: |
||
368 | |||
369 | |||
370 | |||
371 | |||
372 | Use these custom values as initial model and turn on "Keep the tilt axis parameters |
||
373 | fixed". If the result is good, judging by consistent defocus and target tracking through out |
||
374 | the tilt series, this model will be saved in the database as best model automatically, and |
||
375 | you can revert back to initialize with the model of "only this preset". |
||
376 | |||
377 | |||
378 | |||
379 | |||
380 | |||
381 | h2. Failure of xy feature tracking |
||
382 | |||
383 | |||
384 | |||
385 | feature tracking in x and y axes is a 2nd order polynomial fit of preceeding data |
||
386 | points. The default uses 5 data points. When a sudden jump occurs in the tracking error, it |
||
387 | tend to follow the trend of the last point. If the jump is a temporary clich in the |
||
388 | goniometer, this tend to over correct the tracking error and eventually loose track as shown |
||
389 | in Figure 5. A possible fix is to increase the number of data points in the fitting. This |
||
390 | can be set in the tomography setting "Smooth n tilts for defocus prediction". 4 in defocus |
||
391 | prediction is equivalent to 5 points (n+1) for xy tracking. |
||
392 | |||
393 | |||
394 | Figure 5!http://emg.nysbc.org/software/leginon/images/images/tomoxbad.png! |
||
395 | |||
396 | |||
397 | |||
398 | |||
399 | |||
400 | h2. Large tracking error between the first and second tilt |
||
401 | images |
||
402 | |||
403 | |||
404 | |||
405 | The first image in each tilt group of the tilt series at the "start" angle (normally 0 |
||
406 | deg) and the second image at tilt of "step" angle from the "start" angle do not use the |
||
407 | fitted model. It is assumed that the eucentric height judged by stage alpha wobbling in the |
||
408 | "Tomo Focus" node gives a stage height that the tracking of feature by such a small tilt |
||
409 | would be good enough. In most cases this is a reasonable assumption. However, we have had |
||
410 | experience of goniometer alignment problem where the assumption fails. The symptom is |
||
411 | illustrated in Figure 6 below. Note that the Feature tracking error is displayed as |
||
412 | percentage of the image length. |
||
413 | |||
414 | |||
415 | Figure 6!http://emg.nysbc.org/software/leginon/images/images/tomoz0bad.png! |
||
416 | |||
417 | |||
418 | This tilt series was taken with a starting angle of zero and at an image size of < 1 |
||
419 | um. As can be seen here, apart from the +2 and -2 degree tilts, the tracking error was less |
||
420 | than 2 % of the image. Only the tracking of the feature between 0 and +/- 2 degrees are |
||
421 | large. At close to 20 % error, this made the overlap between +/- 2 degrees unacceptable and |
||
422 | often cause popular alignment programs to misalign the two half of the series. |
||
423 | |||
424 | |||
425 | The first solution is of course to report it to your microscope service engineer. When |
||
426 | we had this problem, many users noticed that it was difficult to adjust stage to eucentric |
||
427 | height manually with alpha wobbler. Features jumped while the goniometer changed rotation |
||
428 | direction. In addition, different magnitude of tilt range suggests different eucentric |
||
429 | heights. It is not easy to fix this, so it might take a while. |
||
430 | |||
431 | |||
432 | Before the hardware is fixed physically, it is still possible collect tomograms. The |
||
433 | model fitting of the overall curve in the above case gave z0 of +5 um through the whole tilt |
||
434 | series (Figure not shown). Therefore, by moving the stage up by such an amount after the |
||
435 | stage-tilt-based autofocusing can bring us to the correct height for tomography. This can |
||
436 | be acheived by saving the "tomo eucentric" focus current to the database, align rotation |
||
437 | center for this stage height and focus. Then change the correction type of the |
||
438 | "Beam_Tilt_Fine" focusing step to "Stage Z". |
||
439 | |||
440 | |||
441 | |||
442 | |||
443 | |||
444 | h2. Failure of model-based correction |
||
445 | |||
446 | |||
447 | |||
448 | The model used in the defocus correction in Leginon tomography node is a very simplified |
||
449 | one. There are a few cases when the approach fails. Here are ones that we have |
||
450 | encountered: |
||
451 | |||
452 | |||
453 | |||
454 | h2. Y-axis looping |
||
455 | |||
456 | |||
457 | |||
458 | The microscope goniometer does not move on only the tilt axis. With its complex |
||
459 | structure, a common problem is that when the stage is highly tilt, the position slips in |
||
460 | the y-direction. This is known as looping. Figure 7 shows an example of this problem. |
||
461 | |||
462 | |||
463 | Figure 7!http://emg.nysbc.org/software/leginon/images/images/tomoxyloop.png! |
||
464 | |||
465 | |||
466 | While the x-axis position shifts monotonically as a stable model should be, the y-axis |
||
467 | in the positive tilt direction changes little from 0-30 degrees before it increases |
||
468 | rapidly after 30 degrees. Even though the tracking in xy plane is still good, the defocii |
||
469 | correction at these higher tilts may no longer be correct if the tilt axis parameters are |
||
470 | fitted dynamically. Figure 8 shows the model parameters of the same tilt series where the |
||
471 | fitted phi and offset starts to change above 30 degrees even though the tilt axis has not |
||
472 | moved according to the shrinking behavior of the images during the tilts. Note that in |
||
473 | this particular case the looping problem is still mild so that the over-correction is not |
||
474 | very strong. only a small slope change is resulted in z0 prediction. In worst cases, the |
||
475 | defocus over-correction is so large that the adjacent images can not correlate properly |
||
476 | and even the xy tracking would fail. The spikes around zero tilt is a display data sorting |
||
477 | error of the identical starting tilt of the two tilt groups. |
||
478 | |||
479 | |||
480 | Figure 8!http://emg.nysbc.org/software/leginon/images/images/tomomodelloop.png! |
||
481 | |||
482 | |||
483 | Other than asking microscope service engineer to fix the looping, one can find the |
||
484 | best fixed model in the series to apply to future tilt data collection. To make the fixed |
||
485 | model permantly saved to the database, follow these steps: |
||
486 | |||
487 | |||
488 | * tomography/settings/model>activate "keep the tilt axis parameters |
||
489 | fixed". |
||
490 | |||
491 | |||
492 | * tomography/settings/model>initialize the model with "custom values". Enter best |
||
493 | estimate of the fixed model. For example, in the positive direction, enter phi as |
||
494 | -2.17 degrees and axis offset as -1.52 um. since these are the stable values up to the |
||
495 | point the y-looping starts. |
||
496 | |||
497 | |||
498 | * tomography>collect a full tilt series. If the run is successful with good |
||
499 | tracking in all three axis, the model will be saved in the database for this |
||
500 | magnification. |
||
501 | |||
502 | |||
503 | * tomography/settings/model>From now on, you can initialize the model with "only |
||
504 | this preset" or "this preset and lower mags" |
||
505 | |||
506 | |||
507 | |||
508 | |||
509 | |||
510 | |||
511 | |||
512 | h2. Grid slips between the first and second tilt directions |
||
513 | |||
514 | |||
515 | |||
516 | When the holder does not hold the grid tightly, the grid slips to a different position |
||
517 | when the first tilt direction ends and the goniometer quickly returns to zero tilt. |
||
518 | Leginon is designed to adjust the target before the second tilt group starts. The default |
||
519 | setting for this function is to use only the parent image (i.e. one ancestor) where the |
||
520 | target comes from as reference. If the slip is larger than the size of the parent image, |
||
521 | the adjustment may fail, and a random target would be acquired in the second tilt |
||
522 | group. |
||
523 | |||
524 | |||
525 | Starting from Leginon 1.6, the target adjustment can be done with all ancestor images |
||
526 | of the target by choosing "all" in the acquisition part of the tomography node setting to |
||
527 | adjust target with all ancestors. The node "Taget Adjustment" limits the lowest |
||
528 | magnification that this target adjustment would go up in ancestry. The default is at 300x |
||
529 | so that the presence of the objective aperture does not create difference in the reaquired |
||
530 | ancestor image from its original. |
||
531 | |||
532 | |||
533 | |||
534 | |||
535 | |||
536 | h2. Strong and continuous specimen drift |
||
537 | |||
538 | |||
539 | |||
540 | The model used in Leginon considers any shift of feature in the image a result of tilt |
||
541 | axis not aligning to the center of the detector. With the phi and offset fixed, all errors |
||
542 | are accumulated in z0 and results in bad defocus correction. There is no solution to this |
||
543 | at the moment. |