Project

General

Profile

MSI set up in more details » History » Version 41

Anchi Cheng, 12/17/2012 05:09 PM

1 1 Amber Herold
h1. MSI set-up in more details
2
3
4 10 Amber Herold
This section shows some of the more important and complicated steps in the set-up checklist. It assumes that the user knows the nomenclatures. See the full documentation if you want the detailed explanation. It also assumes that general set-up and calibrations exist from previous sessions so that most calibrations can remain unchanged. The steps that are NRAMM specific are marked. MSI now features stage Eucentric height correction at each square.
5 1 Amber Herold
6 10 Amber Herold
NOTE: The Tietz imaging software (EMMenu) must be turned OFF before Leginon is started. In contrast to this, the Gatan imaging software (Digital Micrograph) must be ON before Leginon is started.
7 1 Amber Herold
8
9
10 10 Amber Herold
h2. Starting Up
11 1 Amber Herold
12 10 Amber Herold
Set up is most stable with a good microscope alignment.
13 1 Amber Herold
14 11 Amber Herold
1.  Initial alignment at the microscope See Chapter on [[Microscope Set-up|Microscope setup]] for details.
15 1 Amber Herold
16 10 Amber Herold
  *  scope> Insert specimen holder
17
  *  scope> Put stage to eucenter and reset defocus in both HM mode AND LM mode
18
  *  scope> Check gun tilt and shift
19
  *  scope> Check rotation center and beam tilt pivot points in the HM mode
20
  *  scope> Save the goniomenter position for the square with intact supporting film where the alignment was done and do the same for a square where the supporting film is broken (where bright/dark images can be acquired).
21 1 Amber Herold
22
23 11 Amber Herold
2. Start python-based leginon main program amd leginon
24 1 Amber Herold
client. See Chapter on [[Microscope Set-up|Start Leginon]].
25
26 10 Amber Herold
  *  scope> Set up [[MSI set-up in more details#Starting-Up|CCD camera]]
27 11 Amber Herold
  *  [[Run Leginon Client on the Microscope Computer|scope> Start Leginon Client]]
28 10 Amber Herold
  *  scope> If the following error message appears, DO NOT touch it, or Leginon Client will need restarting
29 3 Alex Kadokura
30 10 Amber Herold
bq. _"Exception EAccessViolation in module adaExp.exe at...._
31
_Access violation at address xxxx in module 'adaExp.exe'. Read of address xxxx"_
32 1 Amber Herold
33 10 Amber Herold
  * [[Start Leginon at your main working station remotely|main> start-leginon.py]]
34
  *  Leginon Setup Wizard> Create new or Select old session, connect to the instrument host, and start.
35 1 Amber Herold
36
37 11 Amber Herold
3.  Start your preferred "MSI" application.
38 1 Amber Herold
39 13 Amber Herold
 *  Leginon/Application/Run> Select the "MSI" application you would like to use (Edge,T,Raster, or Tomography), the scope, and the main launcher. Click Run.
40 26 Anchi Cheng
41
h2. Import existing presets
42
43 13 Amber Herold
 *  Leginon/Node Selector> Select "Presets Manager" node.
44
 * Leginon/Presets Manager/Preset Selector> Import presets from a previous working session !http://emg.nysbc.org/software/leginon/images/icons/import.png!
45
 ** Select the TEM and camera to "Find" sessions closest to the condition of your data collection.
46
 ** Use shift-key to select a series of presets if needed. Hold-down to ctrl-key allows individual selection/deselection.
47
 ** Click "Import" button to import, the presets should appear in the Presets Manager/Preset Selector window.
48
 ** Click "OK" to exit "Import Presets" window.
49
 Note: Creating new preset and adjusting the preset are covered in Calibration Chapter under [[Creating Presets for the first time|Creating presets the first time]].
50
 *  The cycle order should match the sequence of data acquisition to minimize hysteresis. If the presets are imported from previous session, the cycle order is imported automatically. As an example, the cycle for naming scheme used here at NRAMM is gr -> sq -> hl -> fa -> fc -> en -> ef.
51 1 Amber Herold
 * Leginon/Presets Manager> Select a preset in the list box and then click "To Scope" !http://emg.nysbc.org/software/leginon/images/icons/instrumentset.png! to apply the settings to the scope and synchronize Leginon and the scope settings.
52
53
54 26 Anchi Cheng
h2. Save the alignment and empty position in Leginon
55 1 Amber Herold
56 29 Anchi Cheng
 *  scope> Recall the stored intact or empty position or go to such
57 1 Amber Herold
location.
58
59 30 Anchi Cheng
 *  Leginon/Navigation/Toolbar/Stage Locations> !http://emg.nysbc.org/software/leginon/images/icons/stagelocations.png! Enter a New name to store Stage Location such as, for example, "empty" and "align", respectively. Save the xy coordinate only.
60
61
h2. Retrieve the stored alignment or empty position in Leginon
62
63
 * Leginon/Navigation/Toolbar/Stage Locations> !http://emg.nysbc.org/software/leginon/images/icons/stagelocations.png! To recall the position, select the named location under the same tool and click on "send to scope".
64 28 Anchi Cheng
65 29 Anchi Cheng
h2. Reset defocus to zero at eucentric focus in LM mode
66 27 Anchi Cheng
67
1.  Leginon/Presets Manager> Send the sq preset at LM mode by choosing the preset name and click the "To Scope" tool on the right of the preset selection box.
68
69
2.  scope> Move the grid to a position on the "align" square,
70
71
3. scope> Use stage alpha wobbler to move the sample to eucentric height if hasn't done so.
72
73
4. scope> Focus the beam to see only a small area of the intact square.  Turn the focus knob to find the point where a scattering halo goes through the minimum which indicates that it is at focus.  This procedure finds the focus easier than looking for minimal contrast in LM mode.
74 1 Amber Herold
75 27 Anchi Cheng
5. scope> Reset defocus to zero.
76
77
78 29 Anchi Cheng
h2. Reset defocus to zero at eucentric focus in HM mode
79 27 Anchi Cheng
80 41 Anchi Cheng
1. Cycle thru presets with microscope main screen down so that you can see it change. Align beam shift roughly so that the beam can cover the digital camera when you sent "sq","hl" and "fc" preset to scope.
81 40 Anchi Cheng
82
2 Use "Z Focus" node and simulate target tool to set the eucentric height of the grid using only stage tilts.
83
84
** This means that you only activate focus sequences that uses "Stage Wobble" as method of defocus determination.  We recommend this combination:
85
|sequence name (arbitrary)|preset|tilt amount|correction method|
86
|1st Stage Wobble|sq|1 or 2 degrees|stage z|
87
|2nd Stage Wobble|hl|same tilt as in the first sequence|stage z|
88 29 Anchi Cheng
89 41 Anchi Cheng
3. [[Use manual focus tool]] to bring focus to guassian focus and save the lens current that achieves this as the eucentric focus.
90 1 Amber Herold
91
h2. Grid preset image shift refinement
92
93 11 Amber Herold
94 16 Amber Herold
1.  Leginon/Presets Manager> Send a preset at an intermediate mag at HM mode as the reference (e.g. hl) "To Scope" !http://emg.nysbc.org/software/leginon/images/icons/instrumentset.png!
95 1 Amber Herold
96 15 Amber Herold
Note: sq preset in LM mode can be used if the image alignment between LM and HM
97 14 Amber Herold
is known to be good.
98 1 Amber Herold
99
100 14 Amber Herold
2.  scope> Move the grid to a position on the "align" square, either on a recognizable object or burn a good hole through ice at the center of the CCD as preparation for lower mag preset image shift correction.
101 1 Amber Herold
102 14 Amber Herold
103 16 Amber Herold
3.  Leginon/Presets Manager> Click on the tool "Align presets to each other" !http://emg.nysbc.org/software/leginon/images/icons/alignpresets.png!.
104 1 Amber Herold
105
106 14 Amber Herold
4.  Check, adjust, and save the preset(s) to be aligned.
107 1 Amber Herold
108 18 Amber Herold
The left panel displays and navigate by "Stage Position" of the reference preset while the right panel displays and navigate by "Image Shift" of the preset to be aligned
109 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> Choose the reference (hl) preset on the left panel.
110 1 Amber Herold
111 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> Choose the aligning (gr) preset on the right panel.
112 1 Amber Herold
113 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> Select "Similar look across mags" mode at the top left corner of the window. This will use a smaller part of the CCD to acquire the image for the lower mag preset so that it appears to be magnified in the 512x512 image panel.
114 1 Amber Herold
115 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> "Start" image acquisition.
116 1 Amber Herold
117 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> If the recognizable object can not be found in both panels, go back to step one to choose a lower mag preset or a better object.
118 1 Amber Herold
119 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> If the recognizable object can be found in both panels but not at the center on the reference left panel, navigate* it to the center using its "Click Tool". Wait for the move to complete and both images refreshed.
120 1 Amber Herold
121 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> Navigate* the object on the right panel to the center using its "Click Tool".The new image shift is automatically saved at each move.
122 1 Amber Herold
123 14 Amber Herold
 *  Repeat 7 if necessary.
124 1 Amber Herold
125
126 14 Amber Herold
Note: "Navigate" means selecting the navigate tool !http://emg.nysbc.org/software/leginon/images/icons/arrow.png! on the top right of image display and then double clicking the location of the new center that is translated by the given TEM Parameter.
127 1 Amber Herold
128
129
130 14 Amber Herold
h2. Grid preset stage position refinement
131 1 Amber Herold
132 3 Alex Kadokura
133 1 Amber Herold
134 14 Amber Herold
Stage position model Scale and Rotation is stable as long as the LM eucentric height defocus is set to zero before each session, although variation from day to day is normal. Check the stage movement calibration of gr preset by navigating it in Navigation node. Within 10% error is satisfactory since reaching a square does not require high accuracy. If not, perform stage model position _[[Modeled Stage Position calibration#Magnification-and-image-rotation-adjustment-of-the-model|scale and rotation calibration]]> at gr preset_ using "Calibration" application as following:
135 1 Amber Herold
136 14 Amber Herold
_[[Modeled Stage Position calibration|Why goniometer model is better]]._
137 1 Amber Herold
138
139
140 14 Amber Herold
1.  scope> Remove the objective aperture.
141 1 Amber Herold
142 14 Amber Herold
2.  Leginon> Run "Calibrations" Application
143 1 Amber Herold
144 14 Amber Herold
3.  Leginon/Presets Manager> Send "gr" preset to scope.
145 1 Amber Herold
146 14 Amber Herold
4.  Leginon/GonioModeling/Settings/Measurement> Set axis=x, Points=5,Tolerance=25%, and Interval=1e-05 m. Default model label is the session name.
147 1 Amber Herold
148 14 Amber Herold
5.  Leginon/GonioModeling/Settings/Modeling> Set "Scale and Rotation Adjustment Only"=Yes. Other settings will be set automatically once measurements are finished.
149 1 Amber Herold
150 14 Amber Herold
6.  Leginon/GonioModeling> Click on !http://emg.nysbc.org/software/leginon/images/icons/cam_ruler.png! will start "Measure" the shifts of between points that are moved on x axis of the goniometer.
151 1 Amber Herold
152 14 Amber Herold
7.  Leginon/GonioModeling> Click on !http://emg.nysbc.org/software/leginon/images/icons/play.png! will "Calibrate" the scale and rotation of the model on x axis of the goniometer.
153 1 Amber Herold
154 14 Amber Herold
8.  Leginon/GonioModeling> repeat 4-7 with the axis set to y.
155 1 Amber Herold
156
157
158
159
h2. Acquire mosaic atlas of the grid
160
161
162 14 Amber Herold
1.  scope> Remove the objective apperture.
163 1 Amber Herold
164 14 Amber Herold
2.  Leginon/Grid Targeting> Click "Settings" to check the preset used, the size and name of the atlas.
165 1 Amber Herold
166 14 Amber Herold
3. Leginon/Grid Targeting> Click "Calculate Atlas" !http://emg.nysbc.org/software/leginon/images/icons/calculate.png!
167 1 Amber Herold
168 14 Amber Herold
4.  Leginon/Grid Targeting> Click "Submit Targets" !http://emg.nysbc.org/software/leginon/images/icons/play.png! to begin acquiring the atlas.
169 1 Amber Herold
170 14 Amber Herold
5.  Leginon/Square Targeting> Follow the atlas progress in the display. (***There is no sign at the end currently other than that nothing happens for a long time and that the atlas dimension is the same in other direction when it is completed.)
171 1 Amber Herold
172 14 Amber Herold
6.  scope> Insert the objective aperture.
173 1 Amber Herold
174 14 Amber Herold
7.  Leginon/Presets Manager/Send an HM preset "To Scope" several times to cycle all magnifications and warm up the objective lens to minimize the image shift hysteresis in switching between LM and HM modes. If the scope has been in LM mode for a long time, wait for at least 30 min before final image shift refinement of needed LM preset during acquisition (i.e. sq)
175 1 Amber Herold
176
177
178
179 14 Amber Herold
h2. Determine the proper exposure condition for exposure presets
180 1 Amber Herold
181
182
183 17 Amber Herold
Exposure presets are the base presets for data collection. To keep it to low dose condition such as 10 electron/Angstrum, measurement of dose is performed and the exposure time is adjusted. If scope or camera parameters are changed during the session, the dose value is no longer valid and should be remeasured.
184 1 Amber Herold
185
186 14 Amber Herold
1.  Leginon/Navigation/Toolbar/Stage Locations !http://emg.nysbc.org/software/leginon/images/icons/stagelocations.png! Send the "empty" position "To scope".
187 1 Amber Herold
188 14 Amber Herold
2.  Leginon/Presets Manager/Preset Selector> Select a high mag exposure (i.e. "en" or "ef"), confirm that the parameters are what you desire for the experiment, and then send "To Scope" !http://emg.nysbc.org/software/leginon/images/icons/instrumentset.png!.
189 3 Alex Kadokura
190 14 Amber Herold
3.  scope> Expand the beam to at least cover the CCD (> medium circle mark on the viewing screen) and to the size you desire.
191 1 Amber Herold
192 14 Amber Herold
4.  Leginon/Presets Manager/Preset Selector> If you have changed the size or location of the beam or other preset scope parameters at the scope, you must retrieve
193
the preset parameter "From scope" !http://emg.nysbc.org/software/leginon/images/icons/instrumentget.png! first before checking and saving the dose value.
194 1 Amber Herold
195 14 Amber Herold
5.  Leginon/Presets Manager/Preset Selector> "Acquire dose image" !http://emg.nysbc.org/software/leginon/images/icons/acquire.png! for the selected preset.
196 1 Amber Herold
197 14 Amber Herold
6.  Leginon/Presets Manager/Dose Image> Check the "Dose" value.
198 1 Amber Herold
199 14 Amber Herold
7.  Leginon/Presets Manager/Dose Image> If desired dose is known, fill in the value and then click "Match". This will change exposure time to give a close match of
200 1 Amber Herold
the value entered.
201 3 Alex Kadokura
202 14 Amber Herold
8.  Leginon/Presets Manager/Dose Image> If not satisfied with the value, click "No", change the exposure time by editing the preset, and try again (No need to send
203 1 Amber Herold
the preset "To scope" again for the repeat)
204
205 14 Amber Herold
9.  If the scope can not give such illumination to satisfy dose, exposure time and area requirement, alignment is required or change of gun lens or spot size is needed.
206 1 Amber Herold
207 14 Amber Herold
10.  Leginon/Presets Manager> Copy the preset parameter to the other exposure preset.
208 1 Amber Herold
209 14 Amber Herold
 * Preset Selector> send the preset that has the dose measurement "To Scope" !http://emg.nysbc.org/software/leginon/images/icons/instrumentset.png!
210
 * Preset Selector> select the preset to receive the copy
211
 * Preset Selector> retrieve the parameters "From Scope" !http://emg.nysbc.org/software/leginon/images/icons/instrumentget.png! for the selected preset.
212
 * Preset Selector/Edit> !http://emg.nysbc.org/software/leginon/images/icons/edit.png! Modify defocus for the preset after the retrieval.
213 1 Amber Herold
214
215
216 31 Anchi Cheng
h2. Update bright and dark correction images for exposure presets
217 1 Amber Herold
218
219
220 14 Amber Herold
Exposure presets are the base presets for data collection. To make sure the best correction is applied to them, the correction images should be acquired prior to the experiment at session. Since no correlation is normally done on these images, only one [[Bright and Dark reference images#Correction-Channels|channel]] is needed. Normalization image might need to be [[Bright and Dark reference images#Correction-Planmodified]] if a large chunk of region is blocked by a fallen debris.
221 1 Amber Herold
222
223 14 Amber Herold
1.  Leginon/Presets Manager> Select a dose measured high mag exposure (i.e. "en" or "ef"), and then send "To Scope".
224 1 Amber Herold
225 14 Amber Herold
2.  Leginon/Correction/Settings>
226 1 Amber Herold
227 14 Amber Herold
 *  Select TEM and camera to match that will be used.
228
 
229
 *  Camera Configuration: The exposure preset camera configuration
230 1 Amber Herold
231 14 Amber Herold
3.  Leginon/Correction/Settings> Click OK to exit settings.
232 1 Amber Herold
233 14 Amber Herold
4.  Leginon/Correction/Toolbar> Select "Raw image " from the pull down list of acquisition modes and then click on "Acquire" button next to the selector to view an image that is not corrected.
234 1 Amber Herold
235 14 Amber Herold
5.  Leginon/Correction/Toolbar> Select "Dark reference" in the acquisition mode selector and then click "Acquire" to acquire the Dark reference image for this particular camera configuration.
236 1 Amber Herold
237 14 Amber Herold
6.  Leginon/Correction/Toolbar> Select "Bright reference" and repeat the acquisition to obtain the Bright reference.
238 1 Amber Herold
239 14 Amber Herold
7.  Leginon/Correction/Toolbar> Select "Corrected image" and then "Acquire" to view the corrected image. A corrected image should be free of artifacts and have
240 1 Amber Herold
smaller standard deviation than the raw image, in general.
241
242 14 Amber Herold
8.  Leginon/Correction/Toolbar> If there are regions consistently over normalizes the acquired image, either select the region and use the "+" tool to "Add Region to Bad Pixel List", or click on !http://emg.nysbc.org/software/leginon/images/icons/stagelocations.png! to "Add Extreme Points to Bad Pixel List" one of more times to find the outliers. Right click on a shown bad pixel removes it from the list.
243 1 Amber Herold
244
245
246
h2. Medium mag preset image and beam shift refinement
247
248
249 14 Amber Herold
Preset image shift alignment can be done follow the same procedure as the section "[[MSI set-up in more details#Grid-preset-image-shift-refinement|Grid preset image shift refinement]]" but is more efficient using the automated mode as follows.
250 1 Amber Herold
251
252 22 Amber Herold
1.  Leginon/Presets Manager> Send one of the exposure preset as the reference (e.g. en) "To Scope"  !http://emg.nysbc.org/software/leginon/images/icons/instrumentset.png!
253 1 Amber Herold
254 14 Amber Herold
2.  scope> Move the grid to a position on the "align" square, either on a recognizable object or burn a good hole through ice at the center of the CCD as preparation for lower mag preset image shift correction.
255 1 Amber Herold
256 14 Amber Herold
3.  Leginon/Presets Manager> Click on the tool "Align presets to each other" !http://emg.nysbc.org/software/leginon/images/icons/alignpresets.png!. The tool automatically select the reference preset that was selected in the Presets Manager mainpanel and choose a preset at closest magnification as the starting aligning preset.
257 1 Amber Herold
258 14 Amber Herold
4.  Leginon/Presets Manager/Align Presets> Click "Start" to acquire the first image pair.
259 1 Amber Herold
260 14 Amber Herold
5.  Check, adjust, and save the preset(s) to be aligned.
261 1 Amber Herold
262 19 Amber Herold
The left panel displays and navigate by "Stage Position" of the reference preset while the right panel displays and navigate by "Image Shift" of the preset to be aligned
263 1 Amber Herold
264 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> Changing Selection of "Similar look across mags" or "Full CCD" mode at the top left corner of the window will cause reacquisition of the image pair in the automated mode.
265 1 Amber Herold
266 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> If the recognizable object can be found in both panels but not at the center on the reference left panel, navigate* it to the center using its "Click Tool". Wait for the move to complete and both images refreshed.
267 1 Amber Herold
268 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> Navigate* the object on the right panel to the center using its "Click Tool". The new image shift is automatically saved after each move.
269 1 Amber Herold
270 14 Amber Herold
 *  Repeat 3 if necessary.
271 1 Amber Herold
272 14 Amber Herold
 *  Leginon/Presets Manager/Align Presets> Click "Continue" to save the alignment to all presets of the same magnification and continue to the next preset pair.
273 1 Amber Herold
274 14 Amber Herold
6.  Repeat the process if desired.
275 1 Amber Herold
276
277
278 8 Anchi Cheng
h2. Go to MSI Operation section
279
280 1 Amber Herold
281
282 21 Amber Herold
The setup that requires you to be next to the microscope is completed. Go to the section on [[MSI Operation|MSI Operation]] You can come back and continue on this section after you have learned how to go through the operation without automated hole finding.
283 1 Amber Herold
284
285
286
h2. Hole Targeting Set-up
287
288
289 21 Amber Herold
We can use any image that is already loaded into Hole Targeting to adjust these parameters.  The values in this node vary so much from grid to grid that the best way to find these parameters is by going through a step-by-step trial-and-error process. To see the final acquisition and focus targets, enable only the Original, acquisition, and focus display selections. Refer to Introduction Chapter on [[MSI set-up in more details|how the various tools behave in the control panel]].
290 1 Amber Herold
291 4 Alex Kadokura
292 33 Anchi Cheng
The loaded image normally comes from the image acquired through "Square" node when you submit targets on the grid atlas in "Square Targeting" node.  You can also do a practice run using the default image comes with Leginon. To load the default image, leave the filename entry blank when you click "Load" in the hole finding settings window for the step "Original". The default values in the node gives an example of reasonable target finding with such a default image.
293 1 Amber Herold
294
295
296
Setting up Hole Targeting Depends on which MSI flavor you are running:
297
298
299 21 Amber Herold
1. [[Hole Targeting Set-up for MSI-Edge|MSI-Edge]] uses template matching of the edge image
300 1 Amber Herold
301 38 Anchi Cheng
2. [[Hole Targeting Set-up for MSI-T|MSI-T]] uses template matching of the original image
302 1 Amber Herold
303 21 Amber Herold
3. [[raster finder nodes set-up|MSI-Raster]] creates raster points from a given origin
304 1 Amber Herold
305 21 Amber Herold
4. [[Initial MSI application preference setup#Settings-that-are-the-same-as-in-other-MSI-applications-in-queuing-mode|MSI-Tomography]] does not use automatic target finding. Therefore, it does not requires set up.
306 1 Amber Herold
307
308
309 32 Anchi Cheng
h2. Exposure Targeting Set-up
310 1 Amber Herold
311
312
313 33 Anchi Cheng
Like hole targeting, we can use any image that is already loaded into Exposure Targeting to adjust these parameters.  There is also a different default image came with Leginon for your practice.
314 1 Amber Herold
315
Setting up Exposure Targeting Depends on which MSI flavor you are running.
316
317
318 21 Amber Herold
1. [[Hole Targeting Set-up for MSI-Edge|MSI-Edge]] uses template matching of the edge image
319 1 Amber Herold
320
321 38 Anchi Cheng
2. [[Hole Targeting Set-up for MSI-T|MSI-T]] uses template matching of the original image
322 1 Amber Herold
323 4 Alex Kadokura
324 21 Amber Herold
3. [[raster finder nodes set-up|MSI-Raster]] creates raster points from a given origin
325 1 Amber Herold
326
327 21 Amber Herold
4. [[Initial MSI application preference setup#Settings-that-are-the-same-as-in-other-MSI-applications-in-queuing-mode|MSI-Tomography]] does not use automatic target finding. Therefore, it does not requires set up.
328 1 Amber Herold
329
330
331
h2. Autofocus Test
332
333
334 4 Alex Kadokura
335 21 Amber Herold
There are two focusers in MSI. "Z Focus" node usually moves stage in Z direction to Eucentric height at lower mags. "Focus" node usually just correct the defocus in the way equivalent to turning the focus adjustment knob on the scope at a higher mag. The defocus measurements in both nodes are based on the same principle of beam-tilt induced image shift. A correlation (normally phase) is used to obtain the image shift. Therefore, it is important to test and preform autofocus measurement at area with recognizable feature that does not move significantly during the defocus measurement.
336 1 Amber Herold
337
338 21 Amber Herold
The test use "Manual_after" focus step in the focus sequence for checking. Two procedures can be used to reach a area for good correlation measurements:
339 1 Amber Herold
340
341 21 Amber Herold
1.  Using Simulate Target tool
342 1 Amber Herold
343 21 Amber Herold
 *  Leginon/Presets Manager> Send the autofocus preset "To Scope"
344 1 Amber Herold
345 21 Amber Herold
 *  scope> Move to an area that has recognizable feature on the carbon support at the center.
346 1 Amber Herold
347 21 Amber Herold
 *  Leginon/(Z) Focus/Focus Sequence !http://emg.nysbc.org/software/leginon/images/icons/focus_sequence.png! > Enable desired autofocus and "Manual_after" focus steps.
348 1 Amber Herold
349 21 Amber Herold
 *  Leginon/(Z) Focus/Toolbar> Click Simulate Target !http://emg.nysbc.org/software/leginon/images/icons/simulatetarget.png! and follow the autofocus
350 1 Amber Herold
351
352 21 Amber Herold
2.  Submitting focus target from Hole Targeting
353 1 Amber Herold
354 21 Amber Herold
Note: To use this procedure, there has to be a grid mosaic, and the Hole Targeting should allow user verification of targets
355 1 Amber Herold
356
357 23 Amber Herold
 *  Leginon/(Z) Focus/Focus Sequence !http://emg.nysbc.org/software/leginon/images/icons/focus_sequence.png! > Enable desired autofocus and "Manual_after" focus steps.
358 1 Amber Herold
359 21 Amber Herold
 *  Leginon/Square Targeting> Select a test square and submit it !http://emg.nysbc.org/software/leginon/images/icons/play.png!
360 1 Amber Herold
361 21 Amber Herold
 *  Leginon/Hole Targeting> Submit a focus target to test autofocus in Z Focus node and an acquisition target for the next stage. Both targets should be in an area that has recognizable feature with carbon support.
362 1 Amber Herold
363 21 Amber Herold
 *  Leginon/Z focus> follow the autofocus test in this node.
364 1 Amber Herold
365 21 Amber Herold
 *  Leginon/Exposure Targeting> Submit a focus target at a location that has recognizable feature with carbon support to test autofocus in Focus node.
366 1 Amber Herold
367 21 Amber Herold
 *  Leginon/Focus> follow autofocus test in this node.
368 1 Amber Herold
369
370 21 Amber Herold
Check the performance of autofocus by the following criteria:
371 1 Amber Herold
372
373 21 Amber Herold
1.  During autofocusing:
374 1 Amber Herold
375 21 Amber Herold
 *  Display the image and correlation peak: The observed movement of images upon beam tilt should be consistent with the correlation peak and the edge of the beam should not be visible in any of the beam-tilt images.
376 1 Amber Herold
377 21 Amber Herold
 *  Display the correlation image: The correlation peak at its correct position should be significantly higher than background.
378 1 Amber Herold
379
380 21 Amber Herold
2.  During manual focusing
381 1 Amber Herold
382 39 Anchi Cheng
h2. Manual Focusing
383
384 35 Anchi Cheng
Manual Focusing can be activated either by enabling "Manual_before/Manual_after" steps or directly when leginon is idle using (Z) Focus/Toolbar/MF.
385
* Manual_before/Manual_after focus sequence:
386
** The preset used is set inside focus sequence settings !http://emg.nysbc.org/software/leginon/images/icons/focus_sequence.png!
387
* Manual Focus Tool !http://emg.nysbc.org/software/leginon/images/icons/manualfocus.png!
388 37 Anchi Cheng
** Prior to release 2.2, the preset used by the tool is set by the first preset of the preset order in focuser (node) settings !http://emg.nysbc.org/software/leginon/images/icons/settings.png!
389
** Starting at release 2.2, this has its own preset selection named "manual focus tool preset" found also in focuser node settings.
390 1 Amber Herold
391 21 Amber Herold
 *  MF> The FFT should show visible and isotropic Thon ring according to the fc preset defocus.
392 1 Amber Herold
393 21 Amber Herold
 *  MF/Toolbar> Make sure the move type is "Defocus" and the set value in the box is 0 m then click "Set instrument" botton !http://emg.nysbc.org/software/leginon/images/icons/instrumentset.png!. This will set the defocus to the current 0.
394 1 Amber Herold
395 21 Amber Herold
 *  MF> The perfect autofocus result is that the FFT indicates that the scope is at Gaussian focus.
396 1 Amber Herold
397 21 Amber Herold
 *  For relative movement, press "+" or "-". The step size is determined in MF/Toolbar/Settings>
398 2 Amber Herold
399 25 Amber Herold
 *  To reset defocus to zero at the new focus, press the so-named button !http://emg.nysbc.org/software/leginon/images/icons/instrumentsetnew.png!.
400 2 Amber Herold
401 21 Amber Herold
 *  Clicking the Stop button !http://emg.nysbc.org/software/leginon/images/icons/stop.png! exits the manual check.
402 2 Amber Herold
403
404
405 1 Amber Herold
______
406
407
[[MSI Quick-start|< MSI Quick-start]] | [[Special Operation setup|Special Operation setup >]]
408
409
______