1 | <html> |
---|
2 | <head> |
---|
3 | <title>EXPGUI Alumina Tutorial, part #3</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="alumina4.html">Next page</A> |
---|
24 | </TH><TH><A Href="alumina2.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 3)<BR> |
---|
31 | Specifying Powder Diffraction Data (Adding a Histogram) |
---|
32 | <HR noshade width="75%" size="2" align="center"> |
---|
33 | </H1> |
---|
34 | </CENTER> |
---|
35 | <I> |
---|
36 | GSAS uses the term "histogram" to refer to a diffraction data set. |
---|
37 | A histogram can also be a set of "soft constraints," e.g. |
---|
38 | a set of target parameters, such as bond distances, that the |
---|
39 | model will also try to fit. |
---|
40 | GSAS can fit a model to up to 99 histograms simultaneously, |
---|
41 | although the majority of refinements done in GSAS |
---|
42 | use a single histogram or at most |
---|
43 | only a few histograms. |
---|
44 | GSAS can use single crystal or powder diffraction data, either |
---|
45 | neutron or x-ray. For neutron powder diffraction data, the data |
---|
46 | can be obtained from either time-of-flight (TOF) or constant wavelength (CW) |
---|
47 | instruments. GSAS can use x-ray data from synchrotron, laboratory alpha-1,2, |
---|
48 | and even energy-dispersive x-ray instruments. |
---|
49 | <P> |
---|
50 | Two files are needed to load a powder diffraction histogram. |
---|
51 | The first is a file containing the powder diffraction data, often called |
---|
52 | a GSAS raw data file (often using the extension .RAW, .GSA or .GSAS) |
---|
53 | and the second file is an |
---|
54 | instrument parameter file (.INS or .INST) that defines what type |
---|
55 | of data is included in the raw file (x-ray/neutron, CW/TOF/ED, etc.) |
---|
56 | as well as starting values |
---|
57 | for the diffractometer constants and peak shape parameters. |
---|
58 | There are a number of available formats for the raw data files |
---|
59 | and types of records in the instrument parameter file; this information |
---|
60 | is defined in the |
---|
61 | <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=ftp://ftp.lanl.gov/public/gsas/manual/GSASManual.pdf">GSAS documentation</A>. |
---|
62 | Note that raw data files can contain more than one set of data and that |
---|
63 | an instrument parameter file can contain more than one set of parameters. |
---|
64 | This feature is rarely used, with the exception of TOF instrumentation, |
---|
65 | where detectors are grouped into banks and the results for each bank |
---|
66 | are included in a single file. |
---|
67 | Software for translating diffraction data into a format accepted by |
---|
68 | GSAS is available at most user facilities or can be found at the |
---|
69 | <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.ccp14.ac.uk">CCP14 web site</A> |
---|
70 | Appropriate instrument parameter files can usually be |
---|
71 | provided by the instrument scientist at a user facility or prototypes |
---|
72 | can be found in the GSAS distribution files. |
---|
73 | </I><P> |
---|
74 | This web page demonstrates how the alumina powder diffraction data are |
---|
75 | now added to the experiment file. For this tutorial exercise, |
---|
76 | a special instrument parameter file that has peak shape values narrower than |
---|
77 | the actual instrument is provided. The tutorial would be less challenging |
---|
78 | if the appropriate instrument parameter file is used. |
---|
79 | |
---|
80 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
81 | |
---|
82 | The Histogram panel is selected by clicking on the Histogram tab, as is shown |
---|
83 | below. In this case, no data has been defined, as can be determined |
---|
84 | by the absence of entries in the histogram selection box, in the upper left. |
---|
85 | The "Add New Histogram" button, at the lower right, is used to add [additional] |
---|
86 | powder diffraction data sets to the refinement, as will be demonstrated in this |
---|
87 | page. The histogram panel is used |
---|
88 | to modify various parameters associated with |
---|
89 | each set of diffraction data, for example the diffractometer constants |
---|
90 | (such as wavelength), the background function and terms. |
---|
91 | <P><img alt="tutorial screen dump" src="3a.gif" align=RIGHT> |
---|
92 | <BR clear=all> |
---|
93 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
94 | |
---|
95 | <P><img alt="tutorial screen dump" src="3b.gif" align=RIGHT> |
---|
96 | Pressing the "Add New Histogram" button causes the "add new histogram" |
---|
97 | window, shown to the right, to be displayed. The entries on this |
---|
98 | window are usually considered from top to bottom. The "Dummy Histogram" |
---|
99 | option is used to simulate powder diffraction data, and is not |
---|
100 | used in this tutorial example. So the next item of interest is to select a |
---|
101 | data file. This is done by pressing the upper of the two "Select File" |
---|
102 | buttons. |
---|
103 | <BR clear=all> |
---|
104 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
105 | <img alt="tutorial screen dump" src="3c.gif" align=RIGHT> |
---|
106 | Pressing the "Select File" button creates a file open window, such as |
---|
107 | the one to the right (or slightly different in appearance in windows). |
---|
108 | Select the input file for this exercise, the file you |
---|
109 | <a href="index.html#downloads">downloaded earlier,</a> al2o3001.gsa. |
---|
110 | Double-click on the entry, or select is and press the "Open" button. |
---|
111 | This open window will then close. |
---|
112 | <BR clear=all> |
---|
113 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
114 | <img alt="tutorial screen dump" src="3d.gif" align=RIGHT> |
---|
115 | |
---|
116 | Selecting the raw data file in the open window causes the al2o3001.gsa file |
---|
117 | to be loaded into the upper box on the "add new histogram" window. This |
---|
118 | file is scanned to and check mark entries are created for each bank |
---|
119 | in the file. The al2o3001.gsa file also defines a default instrument |
---|
120 | parameter file, which is the bt1demo.ins that was |
---|
121 | <a href="index.html#downloads">downloaded earlier</a>, so this file name is |
---|
122 | entered into the "Instrument Parameter File" section. |
---|
123 | <P> |
---|
124 | The "Usable data limit" sets the maximum range of data to be used in fitting. |
---|
125 | This is usually determined by plotting the data to see where no further |
---|
126 | peaks are present. This can be done here with the GSAS RAWPLOT program. |
---|
127 | For this exercise, change the defaulted value (the entire data range) to 155 |
---|
128 | degrees, to exclude a single very broad high-angle peak. |
---|
129 | The press the "Add" button in the lower left. |
---|
130 | <BR clear=all> |
---|
131 | <P><HR noshade width="50%" size="4" align="center"><P> |
---|
132 | After the "Add" button is pressed, the EXPGUI program runs a GSAS program, |
---|
133 | EXPTOOL, that actually adds the data reference to the experiment. If an error |
---|
134 | occurs, this result is shown. If no error occurs, the histogram panel |
---|
135 | is redisplayed, but this time a histogram appears in the upper left, as |
---|
136 | seen below. |
---|
137 | <P> |
---|
138 | <img alt="tutorial screen dump" src="3e.gif" align=RIGHT> |
---|
139 | <BR clear=all> |
---|
140 | <HR> |
---|
141 | Previous: <A HREF="alumina2.html"> |
---|
142 | Adding a Phase |
---|
143 | </A> |
---|
144 | <BR> |
---|
145 | Next step: <A HREF="alumina4.html"> |
---|
146 | Change Background Function |
---|
147 | </A> |
---|
148 | |
---|
149 | <HR> |
---|
150 | </blockquote> |
---|
151 | <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> |
---|
152 | <font size=-1><? lastmod(); ?> |
---|
153 | <BR>$Revision: 622 $ $Date: 2009-12-04 23:09:15 +0000 (Fri, 04 Dec 2009) $</font> |
---|
154 | </body> |
---|
155 | </html> |
---|