1 | <html> |
---|
2 | <head> |
---|
3 | <META NAME="Author" CONTENT="Brian H. Toby"> |
---|
4 | <title>EXPGUI Tutorial #4</title> |
---|
5 | </head> |
---|
6 | <BODY BGCOLOR="#FFFFFF"> |
---|
7 | |
---|
8 | <A HREF=http://www.ncnr.nist.gov> |
---|
9 | <IMG SRC="http://www.ncnr.nist.gov/images/ncnrtrans.gif" |
---|
10 | alt="Link to NIST Center for Neutron Research home page" |
---|
11 | ALIGN=RIGHT></A> |
---|
12 | <A HREF=http://www.nist.gov> |
---|
13 | <IMG SRC="http://www.ncnr.nist.gov/images/webidblue_2lineright.gif" |
---|
14 | alt="Link to National Institute of Standards & Technology home page" |
---|
15 | ALIGN=LEFT></A> |
---|
16 | <CENTER> |
---|
17 | <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html"> |
---|
18 | <IMG SRC="tcltklogo100.gif" |
---|
19 | alt="Link to Tcl/Tk information"> |
---|
20 | </CENTER></A> |
---|
21 | <hr> |
---|
22 | |
---|
23 | <CENTER> |
---|
24 | <H1>EXPGUI Tutorial: Garnet (part 4)</H1> |
---|
25 | </CENTER> |
---|
26 | <H1> |
---|
27 | 4. Run POWPREF and GENLES |
---|
28 | </H1> |
---|
29 | <H3>POWPREF</H3> |
---|
30 | <img src="powpref2.gif" align=left> |
---|
31 | Before a least-squares refinement can be run, the POWPREF program |
---|
32 | must be run. This program assigns the reflections that are associated with |
---|
33 | each data point in each histogram. For this reason, POWPREF should |
---|
34 | be rerun if the lattice constants change, if peak widths or |
---|
35 | asymmetry parameters change or if you change the range of data |
---|
36 | that you are using in any histogram. |
---|
37 | <P> |
---|
38 | POWPREF can be run in one of three ways. It can be invoked from the |
---|
39 | menu item in the Powder menu (see to the left), or as a button in |
---|
40 | the button bar (see below) or by pressing the Alt-P key combination. |
---|
41 | <BR clear=left><P> |
---|
42 | <img src="powpref1a.gif"> |
---|
43 | <BR> |
---|
44 | <P> |
---|
45 | <img src="powpref3a.gif"> |
---|
46 | <BR> |
---|
47 | <img src="powpref4a.gif" align=left> |
---|
48 | Once POWPREF is started, a window is opened to watch the program |
---|
49 | progress, as is shown above. |
---|
50 | <P> |
---|
51 | Since POWPREF modifies the .EXP file, |
---|
52 | a message, as shown to the left, is displayed. |
---|
53 | Pressing "Load new" causes the new .EXP file to be reread. |
---|
54 | Pressing "Continue editing" causes EXPGUI to continue to edit the |
---|
55 | previous version of the .EXP file. If more changes are made, and |
---|
56 | the .EXP file is saved, the changes made by POWPREF will be lost. |
---|
57 | POWPREF makes only minor changes to the .EXP file, so there |
---|
58 | is little reason to reject the changes, but if a program, such |
---|
59 | as GENLES has made many incorrect changes to an experiment, the |
---|
60 | "Continue editing" option provides an easy way to keep the .EXP file |
---|
61 | from before the run. |
---|
62 | <BR clear=left> |
---|
63 | <P> |
---|
64 | <H3>GENLES</H3> |
---|
65 | At this point it is possible to run GENLES, to fit the initial background |
---|
66 | (three terms) and the scale factor (1 term). |
---|
67 | Similar to how POWPREF was invoked above, |
---|
68 | GENLES can be run from the appropriate |
---|
69 | button on the button bar, by typing Alt-G, or using the GENLES command |
---|
70 | in the Powder or Xtal menus. As soon as GENLES is started, a box appears |
---|
71 | on the screen showing the refinement status. (See below). |
---|
72 | |
---|
73 | <BR clear=left> |
---|
74 | <img src="genles2a.gif"> |
---|
75 | |
---|
76 | <BR> |
---|
77 | <img src="powpref4a.gif" align=left> |
---|
78 | When GENLES is finished and the window is |
---|
79 | closed, press "Load new" to cause the revised .EXP |
---|
80 | file to be read. (Pressing "Continue editing" would |
---|
81 | reject the results of the refinement.) |
---|
82 | |
---|
83 | <BR clear=left> |
---|
84 | <P><img src="lstview1.gif"> |
---|
85 | |
---|
86 | To examine the results of the refinement in more detail, |
---|
87 | consult the .LST file. This can be examined using the |
---|
88 | LSTVIEW program. This program is shown above. Note that the |
---|
89 | contents of the LSTVIEW box are updated as the refinement |
---|
90 | progresses. |
---|
91 | <P><BR>(.EXP Snapshot: |
---|
92 | <A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/tutorials/garnet4.exp"> |
---|
93 | garnet4.exp |
---|
94 | </A>) |
---|
95 | |
---|
96 | <BR clear=left><HR> |
---|
97 | Previous step: <A HREF="garnet3.html"> |
---|
98 | Add data (histogram) to the Experiment |
---|
99 | </A> |
---|
100 | <BR> |
---|
101 | Next step: <A HREF="garnet5.html"> |
---|
102 | Plot data using POWPLOT or LIVEPLOT</A> |
---|
103 | |
---|
104 | <BR clear=left> |
---|
105 | <HR><p><a href="http://www.ncnr.nist.gov/staff/toby/">Brian Toby</a> (<a href="mailto:brian.toby@nist.gov">Brian.Toby@NIST.GOV</a>) |
---|
106 | <BR clear=left> |
---|
107 | $Revision: 171 $ $Date: 2009-12-04 23:01:35 +0000 (Fri, 04 Dec 2009) $ |
---|
108 | </body> |
---|
109 | </html> |
---|