1 | <html> |
---|
2 | <head> |
---|
3 | <title>EXPGUI Alumina Tutorial, part #4</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="alumina5.html">Next page</A> |
---|
24 | </TH><TH><A Href="alumina3.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 4)<BR> |
---|
31 | Changing the Background Function |
---|
32 | <HR noshade width="75%" size="2" align="center"> |
---|
33 | </H1> |
---|
34 | </CENTER> |
---|
35 | <I>GSAS offers approximately 10 different background functions (not all are |
---|
36 | implemented in EXPGUI). For each of these functions, the number of terms |
---|
37 | to be used is adjustable. The more terms the more complex the shape that |
---|
38 | can be fit. |
---|
39 | Each of these background functions |
---|
40 | has different shapes, and in theory, each function will have advantages |
---|
41 | under different circumstances. |
---|
42 | However, this author |
---|
43 | finds that the Shifted Chebyschev (type #1) is preferable to the |
---|
44 | others for the vast majority of Rietveld refinements and almost never uses |
---|
45 | any other function.</I> |
---|
46 | <P> |
---|
47 | When a histogram is first added in GSAS, the background function is set to the |
---|
48 | Cosine Fourier series option (type #2) with two adjustable terms. |
---|
49 | In this section of the tutorial, we change the background function and the |
---|
50 | number of terms. |
---|
51 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
52 | To change the background function, press the "Edit Background" button on the |
---|
53 | histogram panel. |
---|
54 | <P> |
---|
55 | <img alt="tutorial screen dump" src="4a.gif" align=RIGHT> |
---|
56 | <BR clear=all> |
---|
57 | <P><blockquote><I> |
---|
58 | Note the "Refine background" check box has been selected -- this means that |
---|
59 | the background parameters will be refined (optimized) when GENLES is run. |
---|
60 | The damping parameter to the immediate left is set to 0 -- this means that |
---|
61 | the full computed shift will be applied. In cases where a refinement has |
---|
62 | trouble reaching a minimum, it may be advantageous to increase damping |
---|
63 | (a setting of 1 implies 90% of the computed shift will be applied and |
---|
64 | a damping setting of 9 yields a shift of 10%.) |
---|
65 | <P> |
---|
66 | Every refinable parameter in |
---|
67 | GSAS has a refinement flag (either for the group, as in this case, |
---|
68 | or for each individual parameter) and a damping parameter. The appearance |
---|
69 | of the check box is slightly different in windows: a "x" appears in the |
---|
70 | box when the parameter is selected. |
---|
71 | </I></blockquote> |
---|
72 | |
---|
73 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
74 | <img alt="tutorial screen dump" src="4b.gif" align=RIGHT> |
---|
75 | After the "Edit Background" button is pressed, |
---|
76 | The "Edit Background" window opens, as is shown to the right. |
---|
77 | In this window both the function type and the |
---|
78 | number of terms can be changed. |
---|
79 | <BR clear=all> |
---|
80 | <img alt="tutorial screen dump" src="4c.gif" align=RIGHT> |
---|
81 | Clicking on the "Function type" menu offers a choice of function types, |
---|
82 | as is shown to the right. Choose function type #1, the Shifted |
---|
83 | Chebyschev function. |
---|
84 | <BR clear=all> |
---|
85 | <P><blockquote><I> |
---|
86 | Note that the "Fit Background Graphically" invokes the EXPGUI |
---|
87 | <a href="http://www.ncnr.nist.gov/xtal/software/liveplot.html#bkgedit"> |
---|
88 | BKGEDIT</A> program, which is used to fit a background function |
---|
89 | directly to user-supplied points. This is a very useful initial way to |
---|
90 | fit the background in difficult cases. |
---|
91 | </I></blockquote> |
---|
92 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
93 | <img alt="tutorial screen dump" src="4d.gif" align=RIGHT> |
---|
94 | Also in the "Edit Background" window, press on the "Number of terms" button |
---|
95 | and change this number to 6, as is shown to the right. Note that with |
---|
96 | the Chebyschev polynomial arbitrary (including zero) starting values for the |
---|
97 | background terms is acceptable. |
---|
98 | <P> |
---|
99 | After the "Set" button is pressed, the changes are then seen on the histogram |
---|
100 | panel, as shown below. |
---|
101 | Note that by default, the refine background flag is set, allowing these |
---|
102 | parameters to be optimized. |
---|
103 | <BR clear=all><P> |
---|
104 | <img alt="tutorial screen dump" src="4e.gif" align=RIGHT> |
---|
105 | <BR clear=all> |
---|
106 | <HR> |
---|
107 | Previous: <A HREF="alumina3.html"> |
---|
108 | Specifying Powder Diffraction Data |
---|
109 | </A> |
---|
110 | <BR> |
---|
111 | Next step: <A HREF="alumina5.html"> |
---|
112 | Initial Fitting: Refine Scale Factor and Background |
---|
113 | </A> |
---|
114 | |
---|
115 | <HR> |
---|
116 | </blockquote> |
---|
117 | <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> |
---|
118 | <font size=-1><? lastmod(); ?> |
---|
119 | <BR>$Revision: 623 $ $Date: 2009-12-04 23:09:16 +0000 (Fri, 04 Dec 2009) $</font> |
---|
120 | </body> |
---|
121 | </html> |
---|