source: trunk/tutorial3/alumina3.html @ 622

Last change on this file since 622 was 622, checked in by toby, 13 years ago

# on 2002/07/18 20:45:10, toby did:
NIST alumina tutorial

  • Property rcs:author set to toby
  • Property rcs:date set to 2002/07/18 20:45:10
  • Property rcs:rev set to 1.1
  • Property rcs:state set to Exp
  • Property svn:keywords set to Author Date Revision Id
File size: 6.9 KB
3   <title>EXPGUI Alumina Tutorial, part #3</title>
7A:link {text-decoration:none}
8A:vlink {text-decoration:none}
12      topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" 
13      text="#000000" link="#0033ff" vlink="#0033ff" alink="#0033ff">
16   include("/var/www/include/");
17   include("/var/www/include/");
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>
29<H1><HR noshade width="75%" size="2" align="center">
30GSAS/EXPGUI Alumina tutorial (part 3)<BR>
31Specifying Powder Diffraction Data (Adding a Histogram)
32<HR noshade width="75%" size="2" align="center">
36GSAS uses the term "histogram" to refer to a diffraction data set.
37A histogram can also be a set of "soft constraints," e.g.
38a set of target parameters, such as bond distances, that the
39model will also try to fit.
40GSAS can fit a model to up to 99 histograms simultaneously,
41although the majority of refinements done in GSAS
42use a single histogram or at most
43only a few histograms.
44GSAS can use single crystal or powder diffraction data, either
45neutron or x-ray. For neutron powder diffraction data, the data
46can be obtained from either time-of-flight (TOF) or constant wavelength (CW)
47instruments. GSAS can use x-ray data from synchrotron, laboratory alpha-1,2,
48and even energy-dispersive x-ray instruments.
50Two files are needed to load a powder diffraction histogram.
51The first is a file containing the powder diffraction data, often called
52a GSAS raw data file (often using the extension .RAW, .GSA or .GSAS)
53and the second file is an
54instrument parameter file (.INS or .INST) that defines what type
55of data is included in the raw file (x-ray/neutron, CW/TOF/ED, etc.)
56as well as starting values
57for the diffractometer constants and peak shape parameters.
58There are a number of available formats for the raw data files
59and types of records in the instrument parameter file; this information
60is defined in the
61<A HREF="">GSAS documentation</A>.
62Note that raw data files can contain more than one set of data and that
63an instrument parameter file can contain more than one set of parameters.
64This feature is rarely used, with the exception of TOF instrumentation,
65where detectors are grouped into banks and the results for each bank
66are included in a single file.
67Software for translating diffraction data into a format accepted by
68GSAS is available at most user facilities or can be found at the
69<A HREF="">CCP14 web site</A>
70Appropriate instrument parameter files can usually be
71provided by the instrument scientist at a user facility or prototypes
72can be found in the GSAS distribution files.
74This web page demonstrates how the alumina powder diffraction data are
75now added to the experiment file. For this tutorial exercise,
76a special instrument parameter file that has peak shape values narrower than
77the actual instrument is provided. The tutorial would be less challenging
78if the appropriate instrument parameter file is used.
80<P><HR noshade width="50%" size="4" align="center"><P>
82The Histogram panel is selected by clicking on the Histogram tab, as is shown
83below. In this case, no data has been defined, as can be determined
84by the absence of entries in the histogram selection box, in the upper left.
85The "Add New Histogram" button, at the lower right, is used to add [additional]
86powder diffraction data sets to the refinement, as will be demonstrated in this
87page. The histogram panel is used
88to modify various parameters associated with
89each 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>
95<P><img alt="tutorial screen dump" src="3b.gif" align=RIGHT>
96Pressing the "Add New Histogram" button causes the "add new histogram"
97window, shown to the right, to be displayed. The entries on this
98window are usually considered from top to bottom. The "Dummy Histogram"
99option is used to simulate powder diffraction data, and is not
100used in this tutorial example. So the next item of interest is to select a
101data file. This is done by pressing the upper of the two "Select File"
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>
106Pressing the "Select File" button creates a file open window, such as
107the one to the right (or slightly different in appearance in windows).
108Select the input file for this exercise, the file you
109<a href="index.html#downloads">downloaded earlier,</a> al2o3001.gsa.
110Double-click on the entry, or select is and press the "Open" button.
111This 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>
116Selecting the raw data file in the open window causes the al2o3001.gsa file
117to be loaded into the upper box on the "add new histogram" window. This
118file is scanned to and check mark entries are created for each bank
119in the file. The al2o3001.gsa file also defines a default instrument
120parameter file, which is the bt1demo.ins that was
121<a href="index.html#downloads">downloaded earlier</a>, so this file name is
122entered into the "Instrument Parameter File" section.
124The "Usable data limit" sets the maximum range of data to be used in fitting.
125This is usually determined by plotting the data to see where no further
126peaks are present. This can be done here with the GSAS RAWPLOT program.
127For this exercise, change the defaulted value (the entire data range) to 155
128degrees, to exclude a single very broad high-angle peak.
129The press the "Add" button in the lower left.
130<BR clear=all>
131<P><HR noshade width="50%" size="4" align="center"><P>
132After the "Add" button is pressed, the EXPGUI program runs a GSAS program,
133EXPTOOL, that actually adds the data reference to the experiment. If an error
134occurs, this result is shown. If no error occurs, the histogram panel
135is redisplayed, but this time a histogram appears in the upper left, as
136seen below.
138<img alt="tutorial screen dump" src="3e.gif" align=RIGHT>
139<BR clear=all>
141Previous: <A HREF="alumina2.html">
142Adding a Phase
145Next step: <A HREF="alumina4.html">
146Change Background Function
151<P><font size=-1><A HREF=" page <?=$PHP_SELF?>">Comments, corrections or questions:</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>
Note: See TracBrowser for help on using the repository browser.