Project

General

Profile

Exposure Targeting Set-up for MSI-T » History » Version 6

Anchi Cheng, 10/29/2020 04:03 PM

1 4 Anchi Cheng
h1. Exposure Targeting Set-up for MSI-T with hole template hold finder
2 1 Anchi Cheng
3 4 Anchi Cheng
The same template hole finder class from Hole Targeting is used in Exposure Targeting for finding exposure and focus targets at higher magnifications by loosely defining some parameters. This set-up should be much easier and more stable than Hole Targeting. The parameters not mentioned here can be left at their default values. To proceed from one step of the exposure targeting process to another, simply proceed from top to bottom through the display selection buttons in the image control panel. The display settings associated with each display selection are the locations where the Hole Targeting parameters can be adjusted. To see the final acquisition and focus targets, enable only the Original, acquisition, and focus display selections.
4 1 Anchi Cheng
5
6
h2. 1.  Leginon/Exposure Targeting/Original>
7
8
Use this setting to load a test image if needed.
9
10
 *  Select the Image Display Selection before opening the Image Display Settings window.
11
12
 *  Browse the rawdata directory of the current session for an example image for testing.
13
14
 *  Load the selected file and exit Image Display Settings window.
15
16
 * *If no file is selected while loading, an example hole image will be loaded.*
17
18
!hole.jpg!
19
20 2 Anchi Cheng
h2. 2.  Leginon/Exposure Targeting/Template>
21 1 Anchi Cheng
22
A good template gives a sharp correlation at the center of the holes.
23
24
 *  Measure the hole diameter with the ruler tool of the image viewer on any loaded original image of the hole to be tested.
25
26
 *  Select the Template Display Selection before opening the Template Display Settings window.
27
28
 *  Enter the path and filename of the hole template file if it is not set previously. The template is normally an average of several images of the hole of the same size and manufacturing method.  The [[Creating Template]] section shows how the template come with Leginon is created.  This default hole template has a diameter of 168 pixels.
29
30
 *  Enter the hole diameter of the template under "Original Template Diameter" in pixel. 
31
32
 *  Enter the hole diameter of the hole in the test image under "Final Template Diameter" in pixel. The ratio of the two diameters causes a scaling of the template.
33
*Hint*: A larger final template diameter than the actual hole often give a sharper cross correlation peak.
34
35
 *  Choose a correlation method. "phase" correlation is the typical.
36
37
 *  Set the low pass filter = 2 or higher can reduce scattered sharp peaks found in phase correlation image.
38
39
 *  "Test" these parameters and adjust. We found that the best result often need the final template diameter to be set somewhat larger than the actual hole in the image.
40
41
!template.jpg!
42
43
44 2 Anchi Cheng
h2. 3.  Leginon/Exposure Targeting/Threshold>
45 1 Anchi Cheng
46
A good correlation threshold leaves only small blobs of the correlation peaks from the hole(s). This parameter also tends to change during an experiment. In addition, the value is in the unit of number of standard deviation above the mean.
47
48
49
 *  Select the Blobs Display Selection before opening the Threshold Display Settings window.
50
51
52
 *  Enter the Threshold value determined in the previous section and press Test.
53
54
55 2 Anchi Cheng
 *  Use the ruler tool to measure the diameter of blob that represents the center of the targeted hole. Square this number and use it in the next blob finding section if needed.
56 1 Anchi Cheng
57 2 Anchi Cheng
!threshold.jpg!
58 1 Anchi Cheng
59
60
61 2 Anchi Cheng
h2. 4.  Leginon/Exposure Targeting/Blobs>
62 1 Anchi Cheng
63
The Border is used here to prevent the selection of non-targeted holes that show up at the edge of the image.
64
65 2 Anchi Cheng
 *  "Border" should be set at least the radius of the holes but not so large that the move error of the stage does not allow the targeted hole center to lie in the border.
66 1 Anchi Cheng
67 2 Anchi Cheng
 *  Maximum number of blobs = 1 since only one hole should be targeted at a time.
68 1 Anchi Cheng
69
 *  "Maximum size of blobs" should be adjusted until only the hole centers are shown. A starting value is the measured blob diameter value measured in the previous section.
70
71
 *  "Test" and adjust the parameter in this and the last three steps to obtain the best results. Ideally, only the targeted hole should be shown and selected.
72
73 2 Anchi Cheng
h2. 5.  Leginon/Exposure Targeting/Lattice>
74 1 Anchi Cheng
75
This step is used here only to remove multiple blobs found close to the center of the targeted hole.
76
77
 *  Spacing= any number.
78 6 Anchi Cheng
79 5 Anchi Cheng
h3. (version 3.5 New feature) Set Spacing to 0 allows all blobs as lattice point for stats calculation.  Useful for gold foil grids with hexagonal packing or tilted grids.
80 1 Anchi Cheng
81 3 Anchi Cheng
 *  Reference Intensity: The mean intensity measurement from an empty hole at the same preset (hole).  If not measurable, use a high estimate here would be ok for relative setup.
82 1 Anchi Cheng
83
84
 *  "Test." The correct setting leaves only one target.
85
86 2 Anchi Cheng
h2. 6.  Leginon/Exposure Targeting/acquisition>
87 1 Anchi Cheng
88
89
No discrimination of holes is needed here. This step will set-up the template for exposure and focus targets.
90
91
 *  For example, Minimun ice thickness = 0.01, Maximun ice thickness = 5.0, Maximum Stdev = 2.0
92
93
94
 *  "Test" to check if the target passes the criteria.
95
96
97
 *  Use target template = yes
98
99
100
 *  Set up the template with a list of coordinates relative to the current hole target center. For example, for an acquisition target at the same place as the "good hole" target should have x,y coordinates as 0,0. Add, Edit, and Test the Acquisition and Focus Target Template.
101
102 2 Anchi Cheng
!target_template.jpg!
103 1 Anchi Cheng
104 2 Anchi Cheng
 * Use template to create several posible positions around the hole for focus and then use ice thickness as criteria to use the first valid one as the focus target.  This way, it can avoid thick area or area with contamination.
105
106
!final.jpg!
107
108
h2. 7.  Leginon/Exposure Targeting/Settings> Activate automatic hole finding for future images received.
109 1 Anchi Cheng
110
111
Skip automatic hole finding = no
112
113
114
115
116
______
117
118
[[Hole Targeting Set-up for MSI-T|< Hole Targeting Set-up for MSI-T]]
119
120
______