1 | <html> |
---|
2 | <head> |
---|
3 | <title>EXPGUI Alumina Tutorial, part #5</title> |
---|
4 | </head> |
---|
5 | |
---|
6 | <style> |
---|
7 | A:link {text-decoration:none} |
---|
8 | A:vlink {text-decoration:none} |
---|
9 | </style> |
---|
10 | |
---|
11 | <BODY BGCOLOR="#FFFFFF" |
---|
12 | topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" |
---|
13 | text="#000000" link="#0033ff" vlink="#0033ff" alink="#0033ff"> |
---|
14 | |
---|
15 | <? |
---|
16 | include("/var/www/include/navigation.inc"); |
---|
17 | include("/var/www/include/utility.inc"); |
---|
18 | ?> |
---|
19 | <blockquote> |
---|
20 | |
---|
21 | <TABLE BORDER BGCOLOR="#FFFF40" ALIGN=RIGHT> |
---|
22 | <TR><TH><A Href="index.html">Intro</A> |
---|
23 | </TH><TH><A Href="alumina6.html">Next page</A> |
---|
24 | </TH><TH><A Href="alumina4.html">Previous page</A> |
---|
25 | </TH></TR></TABLE><BR CLEAR=ALL> |
---|
26 | |
---|
27 | |
---|
28 | <CENTER> |
---|
29 | <H1><HR noshade width="75%" size="2" align="center"> |
---|
30 | GSAS/EXPGUI Alumina tutorial (part 5)<BR> |
---|
31 | Initial Fitting: Refine Scale Factor and Background |
---|
32 | <HR noshade width="75%" size="2" align="center"> |
---|
33 | </H1> |
---|
34 | </CENTER> |
---|
35 | <I>At this point we are almost |
---|
36 | ready to start fitting parameters, but before we do that |
---|
37 | the POWPREF program must be run. In GSAS, each data point has a list |
---|
38 | of reflections that contribute to that data point. This assignment must |
---|
39 | be made in POWPREF before the least squares fit can be performed in the |
---|
40 | GSAS program GENLES. The program must also be rerun if a new phase or |
---|
41 | histogram is added to the refinement. POWPREF should also be rerun if the |
---|
42 | lattice constants or profile terms change significantly. |
---|
43 | </I> |
---|
44 | <P> |
---|
45 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
46 | We want to refine the background and the scale factor to get started. |
---|
47 | The scaling parameters are |
---|
48 | shown on the Scaling panel, shown below. |
---|
49 | GSAS offers us an overall scale factor for each histogram, plus a |
---|
50 | phase fraction scale factor for each phase. |
---|
51 | These two factors have exactly |
---|
52 | the same effect for a single-phase refinement, so only one can be used. |
---|
53 | By default, the scale factor refinement flag is turned on and the phase |
---|
54 | fraction is off. This is what we will use. |
---|
55 | <P><img alt="tutorial screen dump" src="5a.gif" align=RIGHT> |
---|
56 | <BR clear=all> |
---|
57 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
58 | The other change that we will make in the default refinement options |
---|
59 | is to lower the number of refinement cycles to 2. Also, make sure the "Extract |
---|
60 | F<sub>obs</sub>" check box on the least-squares pane is selected. |
---|
61 | <P><img alt="tutorial screen dump" src="5b.gif" align=RIGHT> |
---|
62 | <BR clear=all> |
---|
63 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
64 | |
---|
65 | We are now ready to start running programs. First run POWPREF by pressing |
---|
66 | the POWPREF button on the beige tool bar (or selecting the POWPREF option |
---|
67 | in the Powder menu list.) That causes a window, such as the one below to open |
---|
68 | as POWPREF runs. |
---|
69 | <P><img alt="tutorial screen dump" src="5c.gif" align=RIGHT><P> |
---|
70 | <BR clear=all> |
---|
71 | When POWPREF has completed, press the ENTER key to continue and the |
---|
72 | window should close. |
---|
73 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
74 | |
---|
75 | <P><img alt="tutorial screen dump" src="5d.gif" align=RIGHT><P> |
---|
76 | The POWPREF program makes changes to the experiment (.EXP) file and |
---|
77 | this is noted by EXPGUI by the display of the warning message to the right. |
---|
78 | At this point you do want to accept the changes made by POWPREF, so |
---|
79 | click "Load New" and EXPGUI will reread the revised file. |
---|
80 | <BR clear=all> |
---|
81 | <P><blockquote><I> |
---|
82 | By default, this window is shown every time the experiment file is |
---|
83 | modified by any GSAS program. This allows the file to be "rolled back" to |
---|
84 | the previous version, in case of a disastrous refinement run, by pressing |
---|
85 | "Continue with old." However, some EXPGUI users find it annoying to be asked |
---|
86 | this question all the time. In the EXPGUI Options menu, there is a menu item |
---|
87 | called "Autoload EXP". If the "Autoload EXP" option is checked, the |
---|
88 | experiment file will always be read automatically, but then it is no longer |
---|
89 | possible to roll back erroneous steps so easily. |
---|
90 | </I></blockquote> |
---|
91 | |
---|
92 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
93 | Note that the displayed history record has been updated to reflect the running |
---|
94 | of POWPREF. |
---|
95 | <P><img alt="tutorial screen dump" src="5e.gif" align=RIGHT> |
---|
96 | <BR clear=all> |
---|
97 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
98 | We can now initiate the refinement, by launching the GENLES program to |
---|
99 | optimize the scale factor and background parameters. The output from this |
---|
100 | run is shown below. |
---|
101 | <P><img alt="tutorial screen dump" src="5f.gif" align=RIGHT> |
---|
102 | <BR clear=all> |
---|
103 | After the refinement completes, press Enter to continue and then press "Load |
---|
104 | new" on the "Reload?" window. |
---|
105 | <P><blockquote><I> |
---|
106 | The output from the GENLES run shows several points worth noting. |
---|
107 | First note that the number of variables (varied parameters) is 7, |
---|
108 | from the scale factor plus the 6 background terms. Note that the |
---|
109 | initial weighted R-factor (wRp or Rwp) and Chi-squared values are |
---|
110 | 99% and 258, respectively but drop to 72% and 134, respectively after a cycle |
---|
111 | of refinement. In the first cycle of refinement, there are very large shifts |
---|
112 | in the parameters, but the parameters converge in the second cycle. |
---|
113 | This is noted by the sum[(shift/esd)**2] term which is 855 in the first cycle, |
---|
114 | but 0 in the second cycle. Note that shifts become insignificant when they are |
---|
115 | small with respect to the esd (standard uncertainty), so a value of 855 |
---|
116 | means that at least some of the parameters made very large shifts in the |
---|
117 | first cycle. Note that GSAS does not compute the R-factor or Chi-squared terms |
---|
118 | after the second refinement cycle. |
---|
119 | </I></blockquote> |
---|
120 | <HR> |
---|
121 | Previous: <A HREF="alumina4.html"> |
---|
122 | Change Background Function |
---|
123 | </A> |
---|
124 | <BR> |
---|
125 | Next step: <A HREF="alumina6.html"> |
---|
126 | Plotting the Initial Fit |
---|
127 | </A> |
---|
128 | |
---|
129 | <HR> |
---|
130 | </blockquote> |
---|
131 | <P><font size=-1><A HREF="MAILTO:crystal@NIST.gov?subject=WWW page <?=$PHP_SELF?>">Comments, corrections or questions: crystal@NIST.gov</A></font><BR> |
---|
132 | <font size=-1><? lastmod(); ?> |
---|
133 | <BR>$Revision: 684 $ $Date: 2009-12-04 23:10:17 +0000 (Fri, 04 Dec 2009) $</font> |
---|
134 | </body> |
---|
135 | </html> |
---|