Project

General

Profile

Presets Manager » History » Version 7

Anchi Cheng, 08/22/2014 07:22 AM

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 3 Eric Hou
 **  (new from scope icon) Creates new preset from current scope and CCD settings
46 1 Amber Herold
47 3 Eric Hou
 **  (import from session icon) Imports preset(s) from another session.
48 1 Amber Herold
49 3 Eric Hou
 **  Calibrations - Displays the date and time when calibrations related to the selected preset was last saved.
50 1 Amber Herold
51 3 Eric Hou
 **  Parameters - Displays and Allows direct setting of parameters associate with the selected preset.
52 1 Amber Herold
53
h2. Settings - Movement
54
55
* Pause between preset changes
56
57 3 Eric Hou
 - The pause allows the optics to settle between preset changes
58 1 Amber Herold
59
*  Move stage x and y axis only
60
61 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.
62 1 Amber Herold
63
h2. Settings - Cycle
64
65 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.
66 1 Amber Herold
67 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.
68 1 Amber Herold
69
*  Cycle presets
70
71 3 Eric Hou
 - The presets' cycle Order will be used whenever changing between presets.
72 1 Amber Herold
73
*  Optimize Preset Cycle
74
75 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.
76 1 Amber Herold
77
*  Cycle Magnification Only
78
79 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.
80 1 Amber Herold
81
h2. Presets Selector and Cycle Order List
82
83
*  Leginon/Presets Manager> select a preset from the Preset Selector.
84
85
*  Up/Down: Move the presets up or down in the Cycle Order.
86
87 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
88 1 Amber Herold
89
90 3 Eric Hou
 [ gr, sq, hl, fc, fa, en, ef ]
91 1 Amber Herold
92
h2. Sending Presets to the microscope
93
94
*  Leginon/Presets Manager> select a preset from the Preset Selector.
95
96 3 Eric Hou
*  Leginon/Presets Manager> click To Scope icon to send the current preset to the microscope.
97 1 Amber Herold
98
h2. Adjusting Presets at the microscope
99
100
*  Leginon/Presets Manager> select a preset from the Preset Selector.
101
102 3 Eric Hou
*  Leginon/Presets Manager> click To Scope icon to send the current preset to the microscope.
103 1 Amber Herold
104 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.).
105 1 Amber Herold
106 3 Eric Hou
*  Leginon/Presets Manager> click From Scope icon to save the current settings to this preset.
107 1 Amber Herold
108
h2. Acquistion / Dose Image
109
110 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.
111 1 Amber Herold
112 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).
113 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.
114 1 Amber Herold
115 3 Eric Hou
*  Move the stage to an empty area or a broken hole so that the whole screen can have uniform illumination.
116 1 Amber Herold
117 3 Eric Hou
*  Leginon/Presets Manager> Send a selected preset and its parameters to scope.
118 1 Amber Herold
119
*  Leginon/pm/Presets Manager> click Acquire Dose Image.
120
121 4 Eric Hou
 **  The image and the calculated dose will be display.
122 1 Amber Herold
123 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.
124 1 Amber Herold
125 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.
126 1 Amber Herold
127 4 Eric Hou
 **  Exposure time can be changed automatically by matching a desired dose.
128 1 Amber Herold
129
h2. Removing a Preset
130
131 3 Eric Hou
*  Leginon/Presets Manager> select a preset from the Preset pull-down list in the Selection section.
132 1 Amber Herold
133
*  Leginon/pm/Presets Manager> click Remove icon.
134
135
h2. Align Presets To Each Other
136
137 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
138
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.
139 1 Amber Herold
140 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.
141 1 Amber Herold
142 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.
143 1 Amber Herold
144 3 Eric Hou
To switch to custom alignment between arbitrary presets, change the preset assigned for either panel when the window is first open.
145 1 Amber Herold
146
h2. Create Presets from the current Session
147
148 3 Eric Hou
*  Adjust the microscope settings either at the microscope or in em* node or any node where camera configuration can be set)
149
 Aliased as instrument in most applications).
150 1 Amber Herold
151 3 Eric Hou
*  Leginon/Presets Manager> Click New From Scope icon to open "Create New Preset" setting window.
152 1 Amber Herold
153 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.
154 1 Amber Herold
155 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.
156 1 Amber Herold
157
h2. Import Presets from a previous Session
158
159 3 Eric Hou
*  Leginon/Presets Manager> select (import preset icon) to open the import presets window.
160 1 Amber Herold
161
162 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.
163 1 Amber Herold
164 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).
165 1 Amber Herold
166
h2. Calibration Status
167
168 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.
169 1 Amber Herold
170 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.
171 1 Amber Herold
172 3 Eric Hou
*  Pixel Size: This value is entered through the Pixel Size Calibrator node. (required)
173 1 Amber Herold
174 3 Eric Hou
*  Image Shift Matrix: This is calculated through the Image Shift matrix calibration. (required)
175 1 Amber Herold
176 3 Eric Hou
*  Stage Shift Matrix: This is calculated through the Stage Shift matrix calibration. (necessary to build an Atlas).
177 1 Amber Herold
178 3 Eric Hou
*  Beam Shift Matrix: This is calculated through the Beam Shift matrix calibration (necessary to move the beam in Navigator).
179 1 Amber Herold
180 3 Eric Hou
*  Modeled Stage: This is calculated through the Modeled Stage Position calibration (necessary to accurately center holes/targets for medium magnification images).
181 1 Amber Herold
182 7 Anchi Cheng
h2. Preset Parameters
183
184
Access Preset Parameters through edit preset !http://emg.nysbc.org/software/leginon/images/icons/settings.png!
185
186
h2. Instrument Selection
187 1 Amber Herold
188
Select the instruments available on the scope client
189
190
*  TEM
191
192
*  CCD Camera
193
194
h2. CCD settings
195
196 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.
197 1 Amber Herold
198
*  Or, use Manual camera configuration settings.
199
200 4 Eric Hou
 **  Common Configuration> choose Manual
201 1 Amber Herold
202 4 Eric Hou
 **  Enter the image Dimension (x,y).
203 1 Amber Herold
204 4 Eric Hou
  - Pay attention to the binning and offset to ensure the proper actual coverage of the CCD.
205 1 Amber Herold
206 4 Eric Hou
 **  Enter the image Binning (x,y).
207 1 Amber Herold
208 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
209 1 Amber Herold
CCD).
210
211
*  Camera Configuration> Enter the Exposure Time (in milliseconds).
212
213
h2. Microscope settings
214
215
*  magnification
216
217
*  defocus (in meters)
218
219
*  spot size (1-11)
220
221
*  intensity (0.0-1.0)
222
223
*  image shift (in meters)
224
225
*  beam shift (in meters)
226
227 3 Eric Hou
*  Pre-exposure (s): Lowers the main screen for the given time as a pre-exposure before image acquisition
228 1 Amber Herold
229 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
230 1 Amber Herold
default
231
232
h2. Film settings
233
234 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:
235 1 Amber Herold
236
h2. Energy Filter settings
237
238 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
239 2 Amber Herold
240
241
______
242
243
[[Pixel Size Calibrator|< Pixel Size Calibrator]] | [[Raster Finder|Raster Finder >]]
244
245
______