Troubles with Focusing and Drift Check » History » Version 5
Eric Hou, 06/24/2010 02:46 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 | 5 | Eric Hou | * Objective aperture is off alignment. |
32 | 1 | Amber Herold | |
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 | |
||
47 | 5 | Eric Hou | ** Leginon/Focus/Settings/Autofocus> Increase the ice melt time in autofocus setting |
48 | |
||
49 | ** Leginon/Exposure Targeting/Hole Targeting Setting/Target Template/Focus Template Thickness> Adjust allowed ice thickness values to pick focus target in area with thinner ice |
||
50 | |
||
51 | ** Leginon/Presets Manager> reduce "fa" preset CCD binning and/or increase exposure time. |
||
52 | |
||
53 | ** Bad rotaion center and beam tilt pivot point alignment |
||
54 | |
||
55 | ** Bad calibration |
||
56 | 1 | Amber Herold | |
57 | * For stage drift during the procedure |
||
58 | 5 | Eric Hou | |
59 | ** Leginon/Focus/Settings/Autofocus> Reduce drift check threshold. |
||
60 | 1 | Amber Herold | |
61 | * For charging during the procedure |
||
62 | 5 | Eric Hou | |
63 | ** Leginon/Exposure Targeting> Pick targets away from ice chunk, grid bar, and large ice gradient. |
||
64 | 1 | Amber Herold | |
65 | * For ice melting during the procedure |
||
66 | 5 | Eric Hou | |
67 | ** Leginon/Focus/Settings/Autofocus> Increase ice melt time |
||
68 | 1 | Amber Herold | |
69 | * For image spikes |
||
70 | 5 | Eric Hou | |
71 | ** Leginon/Correction> Adjust despike parameters |
||
72 | |
||
73 | ** Leginon/Correction> Reduce exposure time? Might reduce number of random event |
||
74 | 1 | Amber Herold | |
75 | h2. Failed autofocus in Z Focus node |
||
76 | |||
77 | Commonly Why: |
||
78 | |||
79 | 5 | Eric Hou | * The stage height relative to Eucentric point is outside of measurable range due to very uneven grid or stage far away from U-center. |
80 | 1 | Amber Herold | |
81 | * Empty area or area with very thick ice, or at Gaussian focus |
||
82 | |||
83 | * Objective aperture is off alignment. |
||
84 | |||
85 | * Bad recorded eucentric focus. |
||
86 | |||
87 | * Bad rotaion center and beam tilt pivot point alignment |
||
88 | |||
89 | * Bad calibration |
||
90 | |||
91 | 5 | Eric Hou | To identify which is the source, observe the image, correlation, and peak during beam tilt autofocusing. Also check in the log the residual value (so called min) of the fitting. |
92 | 1 | Amber Herold | |
93 | 5 | Eric Hou | * Image has very good contrast but features are completely different from one tilt image to the next-Out of range. |
94 | 1 | Amber Herold | |
95 | 5 | Eric Hou | * No image contrast or correlation peaks move randomly-empty or thick ice, or at Gaussian focus |
96 | 1 | Amber Herold | |
97 | 5 | Eric Hou | * Contrast reverse in the holes relative to the support matrix in one or more beam tilt images-Objective aperture is off alignment. |
98 | 1 | Amber Herold | |
99 | 5 | Eric Hou | * If you know that the stage is at U-center, but the images appear to be strongly defocused-Recorded eucentric focus is incorrect. |
100 | 1 | Amber Herold | |
101 | 5 | Eric Hou | * Correlation peaks are well defined but fitting fails-Bad rotaion center and beam tilt pivot point alignment, or bad calibration. |
102 | 1 | Amber Herold | |
103 | Solutions: |
||
104 | 5 | Eric Hou | |
105 | 1 | Amber Herold | * Out of range: |
106 | 5 | Eric Hou | |
107 | ** U-center the stage before the run and when Z focus fails. |
||
108 | |
||
109 | ** Activate Manual Check after autofocus to make adjustment in stage Z height. |
||
110 | |
||
111 | ** For expert user: Add another focus step before the current autofocus step at even lower magnification for a larger range usability. For example, use sq preset. You will need to perform a calibration with Beam Tilt node in the Calibration application. |
||
112 | 1 | Amber Herold | |
113 | * Empty area or thick ice: |
||
114 | 5 | Eric Hou | |
115 | ** Pick better focus target. |
||
116 | |
||
117 | ** Leginon/Z Focus/Hole Targeting Settings/Ice Thickness Threshold/Focus Hole Selection> Consider using "Good hole" rather than "Any hole". |
||
118 | 1 | Amber Herold | |
119 | * At Guassian focus: |
||
120 | 5 | Eric Hou | |
121 | ** There is no problem, don't worry. |
||
122 | 1 | Amber Herold | |
123 | * Bad recorded eucentric focus |
||
124 | 5 | Eric Hou | |
125 | ## Leginon> send to scope the preset used to autofocus in Z Focus node (i.e., hl in MSI). |
||
126 | |
||
127 | ## TEM> Adjust the stage to U-center. |
||
128 | |
||
129 | ## TEM> Focus the image and reset defocus. |
||
130 | |
||
131 | ## Leginon/Z Focus> start Manual focus tool. |
||
132 | |
||
133 | ## Leginon/Z Focus/Manual Focus> send 0 defocus to scope. |
||
134 | |
||
135 | ## Leginon/Z Focus/Manual Focus> save "Eucentric focus from Instrument". |
||
136 | 1 | Amber Herold | |
137 | * Bad rotation center and beam tilt pivot point alignment: |
||
138 | 5 | Eric Hou | |
139 | ** Make sure you are at the eucentric focus during the alignment. |
||
140 | 1 | Amber Herold | |
141 | * Bad alignment on objective aperture: |
||
142 | 5 | Eric Hou | |
143 | ** Center the objective aperture in diffraction mode. |
||
144 | 1 | Amber Herold | |
145 | h2. Objects reverse contrast during autofocus |
||
146 | |||
147 | 5 | Eric Hou | In this case of autofocus failure, objects such as holes change from lighter than matrix to darker as if a dark-field image is collected during the autofocus beam tilts. |
148 | 1 | Amber Herold | |
149 | Commonly Why: |
||
150 | 5 | Eric Hou | |
151 | 1 | Amber Herold | * The objective aperture is off. |
152 | |||
153 | * Bad rotation center and beam tilt pivot point alignment. |
||
154 | |||
155 | Solutions: |
||
156 | |||
157 | 5 | Eric Hou | * Align objective aperture at mags where autofocus is performed in HM mode. Here is how: |
158 | |
||
159 | ## TEM>Make sure the rotation center is correct. |
||
160 | |
||
161 | ## TEM>Change the mag to that of the autofocus preset that shows the problem. |
||
162 | |
||
163 | 1 | Amber Herold | or |
164 | 5 | Eric Hou | |
165 | 1 | Amber Herold | Leginon/Presets Manager>Send the autofocus preset. |
166 | 5 | Eric Hou | |
167 | ## Imaging an area that have scattering matter such as with ice or carbon. |
||
168 | |
||
169 | ## TEM>Press the diffraction button to go into diffraction mode. |
||
170 | |
||
171 | ## TEM>Use the Mag adjustment knob to change diffraction distance to ~1 m. |
||
172 | |
||
173 | ## TEM>You should see a bright and condensed image of your imaging area which would condenses to a point if you are right at focus (adjust with focus knob). The faint disk outside of the bright area defines the opening of the objective aperture. Center the image using the MULTIFUNCTION KNOBS if you can not see the |
||
174 | edge. Move the STAGE to area with more scattering matter if the faint disk is not visible. |
||
175 | |
||
176 | ## TEM>Physically move the aperture so the faint disk is centered on the bright image. |
||
177 | 2 | Amber Herold | |
178 | ______ |
||
179 | |||
180 | [[Troubles with Targeting|< Troubles with Targeting]] | [[Troubles with Calibrations - Troubleshooting|Troubles with Calibrations >]] |
||
181 | |||
182 | ______ |