Debian Codegraph @

docs/source/tutorial/s3_abswater.rst

raw
1 Setting absolute scale with water
2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 .. _s3p5:
4
5 This section teaches you how to set up absolute scale using water as a reference.
6 Note that you can use water or glassy carbon (:ref:`Part 5 <s3p6>`)
7 for absolute scale calibration in RAW. Glassy carbon is the more accurate approach,
8 if available.
9
10 *Note:* The calibration dataset used for the first parts of this tutorial
11 doesn't have the requisite data to use for this part. So we will use
12 the data in the **calibration_data/extra** folder.
13
14 A video version of this tutorial is available:
15
16 .. raw:: html
17
18 <style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style><div class='embed-container'><iframe src='https://www.youtube.com/embed/Qa4a-5wHGpE' frameborder='0' allowfullscreen></iframe></div>
19
20 The written version of the tutorial follows.
21
22 #. Load the **SAXS.cfg** file in the **calibration_data/extra** folder.
23
24 #. Plot all of the **MT2_48_001_000x.tiff** files, where x is 0-9, on the main plot.
25
26 * *Tip:* :ref:`Section 1 Part 1 <s1p1>` of this tutorial document teaches you
27 how to do this.
28
29 #. Average the **MT2** files you just loaded. Save the average in the **calibration_data**
30 folder.
31
32 |config_abswater1_png|
33
34 #. Repeat steps 1 and 2, plotting, averaging and saving, for the **water2_49_001_000x.tiff**
35 files.
36
37 #. Open the Options window by selecting “Advanced Options” in the Options menu.
38
39 #. Click on the Absolute Scale section in the options list on the left.
40
41 |config_abswater2_png|
42
43 #. Click on the Empty cell “Set” button and select the **A_MT2_48_001_0000.dat**
44 file.
45
46 #. Click on the Water sample “Set” button and select the **A_water2_49_001_0000.dat**
47 file.
48
49 #. Set the Water temperature to 4 C.
50
51 |config_abswater3_png|
52
53 #. Click the Calculate button to calculate the Absolute Scaling Constant. You should
54 get a value near 0.00077.
55
56 * *Tip:* You can also use images to set the absolute scale. This may give worse
57 results, as the signal to noise of the averaged file should be better than for
58 a single image.
59
60 * *Note:* It is important that you not change your normalization settings once you
61 have set the absolute scaling constant. If you do, you will have to recalculate
62 the absolute scaling constant. Also, make sure absolute scale is turned off before
63 you calculate the scale constant, otherwise you will get a bad scaling constant
64 (see the manual for details).
65
66 |config_abswater4_png|
67
68 #. Check the “Normalize processed data to absolute scale” checkbox. Click “OK” to
69 exit the advanced options window and save the changes.
70
71 |config_abswater5_png|
72
73 #. Save the settings for later use.
74
75
76
77 .. |config_abswater1_png| image:: images/config_abswater1.png
78 :target: ../_images/config_abswater1.png
79
80 .. |config_abswater2_png| image:: images/config_abswater2.png
81 :target: ../_images/config_abswater2.png
82
83 .. |config_abswater3_png| image:: images/config_abswater3.png
84 :width: 500 px
85 :target: ../_images/config_abswater3.png
86
87 .. |config_abswater4_png| image:: images/config_abswater4.png
88 :width: 300 px
89 :target: ../_images/config_abswater4.png
90
91 .. |config_abswater5_png| image:: images/config_abswater5.png
92 :target: ../_images/config_abswater5.png
93