Project

General

Profile

Presets Manager » History » Version 8

Anchi Cheng, 05/07/2015 02:45 PM

1 1 Amber Herold
h1. Presets Manager
2
3 3 Eric Hou
Configuring the Presets can be critical to many different applications. Presets describe camera configurations such as image size and exposure time as well as many other microscope parameters such as magnification and defocus. Different nodes can use these predefined presets to change conditions of the microscope and CCD.
4 1 Amber Herold
5 6 Amber Herold
*Required bindings for using preset image shift alignment tool:*
6 1 Amber Herold
7 3 Eric Hou
Presets Manager - (MoveToTargetEvent) -> NavigatorNode
8 1 Amber Herold
9 6 Amber Herold
*Required bindings for using presets in any acquisition class (including focuser) of nodes:*
10 1 Amber Herold
11 3 Eric Hou
AcquisitionNodeAlias - (ChangePresetEvent) -> Presets Manager
12
Presets Manager - (PresetChangedEvent) -> AcquisitionNodeAlias
13 1 Amber Herold
14 6 Amber Herold
*Required bindings for nodes that can use preset instrument configuration set by presets manager:*
15 1 Amber Herold
16 3 Eric Hou
PresetsManagerNode - (PresetChangedEvent) -> Node
17 1 Amber Herold
18 6 Amber Herold
*Required bindings for auto dose measurement as initiated by MSI-Tomography:*
19 1 Amber Herold
20 3 Eric Hou
TomographyNode - (MeasureDosePublishEvent) -> MeasureDoseNodeAlias
21
MeasureDoseNodeAlias - (ChangePresetEvent) -> Presets Manager
22 1 Amber Herold
23
h2. Available functions
24
25
* Toolbar
26
27 3 Eric Hou
 ** Presets Manager Settings
28 1 Amber Herold
29
* Main Presets node panel (panel image icon)
30
31 3 Eric Hou
 **  Preset Selector
32 1 Amber Herold
33 3 Eric Hou
 **  (up/down icon) Move preset up/down in the cycle order
34 1 Amber Herold
35 3 Eric Hou
 **  (to scope icon) Sends parameters of the preset to scope
36 1 Amber Herold
37 3 Eric Hou
 **  (from scope icon) Saves parameters of the preset from current scope and CCD settings
38 1 Amber Herold
39 3 Eric Hou
 **  (acquire icon) Acquires 512x512 image at current sent preset
40 1 Amber Herold
41 3 Eric Hou
 **  (remove icon) Removes selected preset from list
42 1 Amber Herold
43 3 Eric Hou
 **  (align icon) Align image shift between presets
44 1 Amber Herold
45 8 Anchi Cheng
 ** (beam shift icon) Shift beam for a preset
46
47 3 Eric Hou
 **  (new from scope icon) Creates new preset from current scope and CCD settings
48 1 Amber Herold
49 3 Eric Hou
 **  (import from session icon) Imports preset(s) from another session.
50 1 Amber Herold
51 3 Eric Hou
 **  Calibrations - Displays the date and time when calibrations related to the selected preset was last saved.
52 1 Amber Herold
53 3 Eric Hou
 **  Parameters - Displays and Allows direct setting of parameters associate with the selected preset.
54 1 Amber Herold
55
h2. Settings - Movement
56
57
* Pause between preset changes
58
59 3 Eric Hou
 - The pause allows the optics to settle between preset changes
60 1 Amber Herold
61
*  Move stage x and y axis only
62
63 3 Eric Hou
 - Rather than target to x,y,z,alpha, and beta settings of the goniometer, only x and y axis values are sent. Checking this selection allows eucentric height adjustment at regular interval during a long session.
64 1 Amber Herold
65
h2. Settings - Cycle
66
67 3 Eric Hou
Hysteresis of image and beam shift is experienced everyday when using the microscope. This general hysteresis affects many Leginon calibrations. Keeping current in the lenses, particularly the objective lens, has been seen to help reduce the effects of this hysteresis. Likewise, stepping through magnifications in a fixed order (low to highest to low to highest etc.) has been empirically helped reducing the hysteresis effects.
68 1 Amber Herold
69 3 Eric Hou
It is highly recommended to leave the first two check boxes in this section (Leginon/Presets Manager/Settings) enabled. Cycle Magnification Only should be checked if the hysteresis from changing beam intensity is negligible.
70 1 Amber Herold
71
*  Cycle presets
72
73 3 Eric Hou
 - The presets' cycle Order will be used whenever changing between presets.
74 1 Amber Herold
75
*  Optimize Preset Cycle
76
77 3 Eric Hou
 - If there are multiple presets with the same magnification in the Cycle Order, only the first preset in the order list or the destined preset will be sent. This helps speed up the cycling time. Use of this option assumes that the main source of hysteresis is change of magnification.
78 1 Amber Herold
79
*  Cycle Magnification Only
80
81 3 Eric Hou
 - Other than the case for the final destination preset, only the magnification will be sent to the microscope instead of all the other preset's parameters. All of the destined preset's settings will be sent to the microscope. This option will reduce the cycle time as well. Use of this option also assumes that the main source of hysteresis is change of magnification.
82 1 Amber Herold
83
h2. Presets Selector and Cycle Order List
84
85
*  Leginon/Presets Manager> select a preset from the Preset Selector.
86
87
*  Up/Down: Move the presets up or down in the Cycle Order.
88
89 3 Eric Hou
 NOTE: To reduce cycling time, it is best to group the presets that often occur consecutively in order. For example, the typical MSI preset order is
90 1 Amber Herold
91
92 3 Eric Hou
 [ gr, sq, hl, fc, fa, en, ef ]
93 1 Amber Herold
94
h2. Sending Presets to the microscope
95
96
*  Leginon/Presets Manager> select a preset from the Preset Selector.
97
98 3 Eric Hou
*  Leginon/Presets Manager> click To Scope icon to send the current preset to the microscope.
99 1 Amber Herold
100
h2. Adjusting Presets at the microscope
101
102
*  Leginon/Presets Manager> select a preset from the Preset Selector.
103
104 3 Eric Hou
*  Leginon/Presets Manager> click To Scope icon to send the current preset to the microscope.
105 1 Amber Herold
106 3 Eric Hou
*  Adjust the microscope settings either at the microscope or in a node that controls the microscope (em*) and/or the camera (navigator,etc.).
107 1 Amber Herold
108 3 Eric Hou
*  Leginon/Presets Manager> click From Scope icon to save the current settings to this preset.
109 1 Amber Herold
110
h2. Acquistion / Dose Image
111
112 3 Eric Hou
This section is used to acquire a "Dose Image" and calculate the electron dose per area on the specimen at the current preset using the averaged intensity of the image and various calibrations. The dose value is then updated in the database for the current preset. To acquire a dose image, no object must obstruct the path of the electron beam.
113 1 Amber Herold
114 5 Eric Hou
The dose calculated by this function relies on the camera sensitivity calibration obtained in the [[Dose_(Camera_Sensitivity)_Calibration|Dosecal]] node as well as the [[Pixel_Size_Calibrator|pixel size calibration]]. The result of the calibration is CCD sensitivity value that converts number of electrons to camera signal count (i.e. intensity).
115 3 Eric Hou
With both information, the average CCD intensity of the Dose Image acquired through the Presets Manager can be used to calculate the dose in unit of electrons per angstrum. Change of preset scope parameters will reset the dose value.
116 1 Amber Herold
117 3 Eric Hou
*  Move the stage to an empty area or a broken hole so that the whole screen can have uniform illumination.
118 1 Amber Herold
119 3 Eric Hou
*  Leginon/Presets Manager> Send a selected preset and its parameters to scope.
120 1 Amber Herold
121
*  Leginon/pm/Presets Manager> click Acquire Dose Image.
122
123 4 Eric Hou
 **  The image and the calculated dose will be display.
124 1 Amber Herold
125 4 Eric Hou
 **  In order to reduce the acquisition time, the dose image has a maximal dimension of 512x512 and is centered at the same position as the camera configuration of the preset.
126 1 Amber Herold
127 4 Eric Hou
 **  The rest of the preset's settings (e.g. Camera Binning, Exposure Time, Beam shift, Intensity, etc.) are unchanged during the dose image acquisition.
128 1 Amber Herold
129 4 Eric Hou
 **  Exposure time can be changed automatically by matching a desired dose.
130 1 Amber Herold
131
h2. Removing a Preset
132
133 3 Eric Hou
*  Leginon/Presets Manager> select a preset from the Preset pull-down list in the Selection section.
134 1 Amber Herold
135
*  Leginon/pm/Presets Manager> click Remove icon.
136
137
h2. Align Presets To Each Other
138
139 3 Eric Hou
To align presets by image shift, first a global reference is chosen. The global reference serves two purposes. First as the parking preset that the scope returns to after acquiring images at various mags. Second as the preset for initial alignment. The automatic sequence centered at the magnification of the global reference First it aligns pairs of
140
magnification towards higher and higher magnification for those at higher magnification than the global reference and then toward lower and lower magnification for those at lower magnification than the global reference.
141 1 Amber Herold
142 3 Eric Hou
For each magnification, a preset is automatically chosen to be used in the alignment and is displayed in the window. The left panel displays the reference preset and the right panel displays the preset to be aligned. Navigate on the reference image moves the stage while navigate on the align image moves image shift.
143 1 Amber Herold
144 3 Eric Hou
The image shift is saved at each move to the specified preset but not other presets of the same magnification until "continue" is clicked.
145 1 Amber Herold
146 3 Eric Hou
To switch to custom alignment between arbitrary presets, change the preset assigned for either panel when the window is first open.
147 1 Amber Herold
148
h2. Create Presets from the current Session
149
150 3 Eric Hou
*  Adjust the microscope settings either at the microscope or in em* node or any node where camera configuration can be set)
151
 Aliased as instrument in most applications).
152 1 Amber Herold
153 3 Eric Hou
*  Leginon/Presets Manager> Click New From Scope icon to open "Create New Preset" setting window.
154 1 Amber Herold
155 3 Eric Hou
*  Leginon/Presets Manager/Create New Preset> Type a descriptive name for a Preset, "hole" for example, left-click "Create" to save and close the window.
156 1 Amber Herold
157 3 Eric Hou
*  Leginon/Presets Manager/Parameters/Camera Configuration> Change the camera configuration and exposure time if desired. It will be saved automatically when changed. This step is necessary sometimes because the preset is created with the current camera configuration at the CCD.
158 1 Amber Herold
159
h2. Import Presets from a previous Session
160
161 3 Eric Hou
*  Leginon/Presets Manager> select (import preset icon) to open the import presets window.
162 1 Amber Herold
163
164 3 Eric Hou
*  Leginon/Presets Manager/Import Presets> select the session from which the presets will be imported in the pull-down list. Only sessions from the same instrument used in the current session will be displayed.
165 1 Amber Herold
166 3 Eric Hou
*  Leginon/Presets Manager/Import Presets> select the presets to be imported, import them and then press done to exit the window. You can select all presets by highlighting all presets (select the first preset with left click, and then select the last preset with shift-left click).
167 1 Amber Herold
168
h2. Calibration Status
169
170 3 Eric Hou
This section may prove to be very useful to troubleshoot calibration problems. Over time, certain calibrations may need to be repeated. This section will display the latest calibrations that were completed for the settings the current preset has and when they were completed.
171 1 Amber Herold
172 3 Eric Hou
If a new presets needs to be created. Then after creating the new preset, check this section to see which calibrations the new preset will need to be completed.
173 1 Amber Herold
174 3 Eric Hou
*  Pixel Size: This value is entered through the Pixel Size Calibrator node. (required)
175 1 Amber Herold
176 3 Eric Hou
*  Image Shift Matrix: This is calculated through the Image Shift matrix calibration. (required)
177 1 Amber Herold
178 3 Eric Hou
*  Stage Shift Matrix: This is calculated through the Stage Shift matrix calibration. (necessary to build an Atlas).
179 1 Amber Herold
180 3 Eric Hou
*  Beam Shift Matrix: This is calculated through the Beam Shift matrix calibration (necessary to move the beam in Navigator).
181 1 Amber Herold
182 3 Eric Hou
*  Modeled Stage: This is calculated through the Modeled Stage Position calibration (necessary to accurately center holes/targets for medium magnification images).
183 1 Amber Herold
184 7 Anchi Cheng
h2. Preset Parameters
185
186
Access Preset Parameters through edit preset !http://emg.nysbc.org/software/leginon/images/icons/settings.png!
187
188
h2. Instrument Selection
189 1 Amber Herold
190
Select the instruments available on the scope client
191
192
*  TEM
193
194
*  CCD Camera
195
196
h2. CCD settings
197
198 3 Eric Hou
*  Common Configuration - choose one of the common configurations (dimension x binning). All of these configurations use the center portion of the CCD.
199 1 Amber Herold
200
*  Or, use Manual camera configuration settings.
201
202 4 Eric Hou
 **  Common Configuration> choose Manual
203 1 Amber Herold
204 4 Eric Hou
 **  Enter the image Dimension (x,y).
205 1 Amber Herold
206 4 Eric Hou
  - Pay attention to the binning and offset to ensure the proper actual coverage of the CCD.
207 1 Amber Herold
208 4 Eric Hou
 **  Enter the image Binning (x,y).
209 1 Amber Herold
210 4 Eric Hou
 **  Enter the offset from the top left hand corner of the CCD. Remember to check that the Dimension, Binning, and Offset are set to values to make sense (i.e. do not enter 4096x4096 dimension, 4x4 binning, 512x512 offset for a 4k
211 1 Amber Herold
CCD).
212
213
*  Camera Configuration> Enter the Exposure Time (in milliseconds).
214
215
h2. Microscope settings
216
217
*  magnification
218
219
*  defocus (in meters)
220
221
*  spot size (1-11)
222
223
*  intensity (0.0-1.0)
224
225
*  image shift (in meters)
226
227
*  beam shift (in meters)
228
229 3 Eric Hou
*  Pre-exposure (s): Lowers the main screen for the given time as a pre-exposure before image acquisition
230 1 Amber Herold
231 3 Eric Hou
*  Dose-Displays the dose estimate from the most recent dose image acquired with current preset parameters. This value has the units of # electrons / (Angstrom)^2. If the dose image has not been acquired for this preset, 0.00000e+0.0 is the
232 1 Amber Herold
default
233
234
h2. Film settings
235
236 3 Eric Hou
An exposure onto film can be done instead of acquiring an image with the CCD. To acquire an image onto film, simply enable the "film" checkbox:
237 1 Amber Herold
238
h2. Energy Filter settings
239
240 3 Eric Hou
If EFTEM is on, and if "Energe Filtered" is checked, the energy filter will be set to a width of the specified value when the preset is sent to the scope
241 2 Amber Herold
242
243
______
244
245
[[Pixel Size Calibrator|< Pixel Size Calibrator]] | [[Raster Finder|Raster Finder >]]
246
247
______