Project

General

Profile

Optimizing Autofocus » History » Version 6

Anchi Cheng, 02/16/2011 12:50 PM

1 4 Anchi Cheng
h1. Optimizing Autofocus
2
3
Focus, Z Focus, tomo Focus and other variation of focus nodes use the same Focus class but with different settings, focus sequence and position in the MSI sequence to achieve different effects.  Each need to be optimized for your instrument and usage.  The defaults we provide works for us but an understanding of how it works can help you having the smoothest run and getting the best data.
4
5 5 Anchi Cheng
|Node Name|Found in Application|Prerequisite|Performance Target|
6
|Z Focus|all MSI|visible area on the grid|grid almost at eucentric height, defocus zero is no more than what Focus node can handle|
7
|Focus|most MSI|grid almost at eucentric height to allow using only defocus to make correction without significant beam shift|defocus zero is reset to within acceptable tolerance for final exposure|
8
|Tomo Focus|MSI-Tomography|grid close to eucentric height, defocus zero is at eucentric height|grid is accurately set at eucentric height|
9 1 Anchi Cheng
10 6 Anchi Cheng
h2. What you should see during autofocus by beam tilt:
11 1 Anchi Cheng
12 6 Anchi Cheng
Here is an 512x512 example image pair acquired in Focus node at 0.14 nm/pixel at beam tilt separated by 0.8 mrad:
13
|!focus1.png!| !focus2.png!|
14
|focus1 image|focus2 image|
15
16
At Focus node of your MSI application, you can watch their display.  Make sure that beam has not shift off the view (an indication of be Beam Tilt Pivot Point Alignment) and the contrast does not reverse (Objective aperture not centered or too small for the beam tilt applied).
17
18
In the same node, you can make it display the correlation like this:
19
!focus_correlation.png!
20
21
The correlation map shown in Leginon has origin (identical image correlation) at top left corner and is wrapped around so that peaks close to all corners means smaller shift than peaks close to the center of the correlation map.  In this example, phase correlation is used, and focus2 is shifted from focus1 to the top-left by a distance of about 1/15 of the image.  Therefore, we see a peak at bottom-right. and the phase correlation peak is sharp and with modulations around it.
22
23
You may notice that the peak is elongated.  This is caused by the coma effect of the beam tilt. 
24 1 Anchi Cheng
______
25
26 3 Anchi Cheng
[[MSI Operation|< MSI Operation]] | [[Queuing option|Queuing option >]]
27 1 Anchi Cheng
28
______