Version 8.1 by wirtenss on 2022-11-14 15:30

Show last authors
1 = {{id name="03aReconstructionwithRecoGUI-LoadingData"/}}Loading Data
2 \\ =
3
4 **TXM DATA**
5
6 Go to "Load' tab and select year, enter your beamtime ID (e.g. 11001234) and press "enter" on keyboard.
7
8 Now, the list of your scans will be shown below under "folder". Below folders, there are darks with different exposure times.
9
10 Select the scan you want to reconstruct and choose the corresponding dark images.
11
12 If you recorded your data after 2019, you can directly continue by clicking the "Load" button. This will read all data needed for reconstruction.
13
14 Loading the data can take some time (usually several minutes). The GUI will be blocked during this time.
15
16 Continue with next step, "Preparation".
17
18 \\
19
20 **HOLOTOMO DATA**
21
22 Hint: you have to perform the phase reconstruction of your projections first!
23
24 Go to "Load" tab. Click on "Load normalized data" at the bottom of the page and select your phase reconstruced projections.
25
26 The common path is: ///asap3/petra3/gpfs/p05/YEAR/data/BEAMTIMEID/processed/SCANNAME/reco_~#~#//
27
28 You do not need to load any additional dark images.
29
30 Skip "Normalize, Minus Log, Rotate" in the Preperation Tab. The optional steps are still optional. (see below)
31
32 In principle, you can directly proceed to the third tab "Reconstruction". 
33
34 \\
35
36 = {{id name="03aReconstructionwithRecoGUI-Preparationofdataforreconstruction"/}}Preparation of data for reconstruction =
37
38 (Can be skipped for Holotomography)
39
40 Go to "Prep" tab.
41
42 The following is usually required for reconstruction:
43
44 Click "Normalize" button. This will take several minutes.
45
46 Click "Minus Log" button.
47
48 Click "Rotate" button.
49
50 \\
51
52 The following steps are **optional:**
53
54 **Cropping:** If your samples are significantly (% style="color: rgb(0,51,102);" %)__smaller__(%%) than the field of view, you can crop the data to reduce computation time and storage. Draw a rectangle around your sample by keeping the left mouse button pressed. Check that your sample stays inside that rectangle at all angles. If you are happy, press the "crop" button to crop your data.
55
56 **Binning:** You can bin your data before reconstruction. Since the detector has a point spread function of 2-3 pixels, it is save to bin by a factor of 2 without loosing spatial resolution. This reduces computation time and storage space needed.
57
58 **Padding:** If your samples are significantly __larger__ than the field of view, you can pad your data to prevent artifacts at the outer field of view. Example: 100
59
60 **Filter Projections before reconstruction:** You can filter the data before reconstruction. This reduces the noise, but also can induce blurring in the data. Only recommended for very noisy data. Filtering after reconstruction is usually better.
61
62 \\
63
64 **Linogram alignment:** Linogram alignment if sample moved. Ask your local contact if this is necessary.
65
66 \\
67
68 **Save current stack.** Writes the normalized projections to your beamtime folder.
69
70 \\
71
72 = {{id name="03aReconstructionwithRecoGUI-Reconstruction"/}}Reconstruction =
73
74 \\
75
76 **Finding the correct center of rotation. **
77
78 First, you have to find the correct center of rotation. For this, a single slice is reconstructed with different centers of rotation
79
80 **~1. Rot center: **Defines the rotation center in pixel coordinates. For the start, enter half of your image size (1024 for unbinned data, 512 for data with binning 2.)
81
82 **2. Delta: **Range of pixels around the in step 1 given rot center for which the test slice is reconstructed. Good starting value is 50. For fine rot center, choose 10. 
83
84 **3. Stepsize:** Stepsize beween the different rotation centers. Good start value is 5 and 1 for fine rot center. (for example [ ... , 507, 512, 517, ... ] for a stepsize of 5)
85
86 **4. Slice:** Defines the pixel row which is used to reconstruct the test slice. Tip: Choose a region where you expect to see distinctive structures. (You can also check different slices for checking the rotation center.)
87
88 **5. Check rotation center: **Click on the "Check rotation center" button.** **In the preview window move the slider around until you find the positions with the least artifacts. Remember the position number and check the Spyder Console to get the new rot center coordinates in pixel.
89
90 [[image:attach:image2022-11-14_14-4-49.png||thumbnail="true" height="250"]]
91
92 in blue the coordinate of the center of rotation; in yellow the position number of the preview slider
93
94 **6. Update and Repeat:** Replace the Rot Center (step 1) with the new found coordinate, lower the Delta (step 2) and Stepsize (step 3) and repeat the process until you are satisfied with the result.
95
96 \\
97
98 How does a good rotation center look like?
99
100 (% class="relative-table" style="width: 45.3099%;" %)
101 |=(((
102 good
103 )))|=(((
104 bad
105 )))|=(((
106 comment
107 )))
108 |(((
109 (% class="content-wrapper" %)
110 (((
111 [[image:attach:image2022-11-14_14-17-45.png||height="250"]]
112 )))
113 )))|(((
114 (% class="content-wrapper" %)
115 (((
116 [[image:attach:image2022-11-14_14-19-33.png||height="250"]]
117 )))
118 )))|(((
119 \\
120 )))
121 |(((
122 (% class="content-wrapper" %)
123 (((
124 [[image:attach:image2022-11-14_15-16-34.png||height="250"]]
125 )))
126 )))|(((
127 (% class="content-wrapper" %)
128 (((
129 [[image:attach:image2022-11-14_15-7-13.png||height="250"]]
130 )))
131 )))|(((
132 The ghosting effect on the edges is due to sample movement during the scan.
133 )))
134 |(((
135 (% class="content-wrapper" %)
136 (((
137 [[image:attach:image2022-11-14_15-29-47.png||height="250"]]
138 )))
139 )))|(((
140 (% class="content-wrapper" %)
141 (((
142 **[[image:attach:image2022-11-14_15-28-50.png||height="250"]]**
143 )))
144 )))|(((
145 \\
146 )))
147
148 \\
149
150 \\
151
152 \\
153
154 **Reconstruction Parameters. **
155
156 When you found the correct rotation center, you can continue with the reconstruction.
157
158 Enter the final roation center from the above step.
159
160 You can select different reconstruction algorithms and filters. Standard is gridrec and shepp.
161
162 You can also add ring removal (can take very long!!!!)
163
164 Mask: If you like a circular mask around your data, check this box.
165
166 before the final reconstruction, you can reconstruct a test slice to check your reconstruction parameters. Enter the slice number you want to reconstruct and press " Reconstruct slice".
167
168 \\
169
170 When you are happy with your result, press "Reconstruct full stack".
171
172 You can check the data in ImageJ, and if you are not happy, you can also reconstruct with different parameters/ rotation centers.
173
174 When you are finished with one scan, please press the "clear all" button! This saves the log data you see on the right, so you can later check what you did. The data are also removed from the memory.
175
176 \\
177
178 \\
179
180 \\
181
182 \\