source: trunk/doc/expgui3.html @ 465

Last change on this file since 465 was 444, checked in by toby, 12 years ago

# on 2001/09/25 23:21:11, toby did:
dummy histogram support
Setting Histogram Flags

  • Property rcs:author set to toby
  • Property rcs:date set to 2001/09/25 23:21:11
  • Property rcs:lines set to +60 -13
  • Property rcs:rev set to 1.9
  • Property rcs:state set to Exp
  • Property svn:keywords set to Author Date Revision Id
File size: 8.3 KB
3   <META NAME="Author" CONTENT="Brian H. Toby">
4   <title>EXPGUI</title>
8<A HREF=>
9<IMG SRC="" 
10alt="Link to NIST Center for Neutron Research home page"
12<A HREF=>
13<IMG SRC="" 
14alt="Link to National Institute of Standards & Technology home page"
17<A Href="">
18<IMG SRC="tcltklogo100.gif" 
19alt="Link to Tcl/Tk information">
[333]21<br clear=all><hr>
24<TR><TH><A  Href="expgui.html">EXPGUI top</A> 
25</TH><TH><A Href="expgui4.html">Next page</A>
26</TH><TH><A Href="expgui2.html">Previous page</A>
[273]30EXPGUI, part 3
32<h3>A.3 Histogram pane</h3> 
34The histogram pane is used to edit background
35and diffractometer constants for a histogram, as well as
36set damping and refinement flags for these parameters.
39<A href="expgui.html#multiplehistogram">
40"Multiple Histogram Selection" mode</A> is set to "All",
41this pane is disabled. For other settings of this mode,
42groups of histograms can be selected and modified
45If the EXPTOOL program
46<A href="expgui.html#installation">(see the installation instructions)</A>
47is installed, a button for adding histograms will
48appear on the bottom right on this pane, as seen below. If the
49program is not properly installed, no errors occur, but the button
50does not appear.
52Note that the order that histograms appear in this
53pane is determined by the <a href="expguic.html#sorthist">"Sort histograms by"</a> option in
54the Options Menu.
[294]56<img SRC="3.gif" align=TEXTTOP alt="EXPGUI Screen snapshot">
[260]59If there is more than one phase present in the refinement,
60an extra box appears at the top of the pane to allow phase flags
61to be selected. This allows a phase to be used in some histograms
62but not in others. It also offers a simple way to effectively "delete" a
63phase by removing it from all histograms. Be sure to rerun POWPREF after
64changing the phase flags.
[294]66<img SRC="3a.gif" align=TEXTTOP alt="EXPGUI Screen snapshot">
[310]67<br clear=all>
70The pane appears slightly differently when
71<A href="expgui.html#multiplehistogram">
72"Multiple Histogram Selection" mode</A> is set to a single histogram type.
73In this case diffractometer constants are edited in separate windows (see
74<a href="#EditParm">Global Editing of Parameters</a>, below).
77<img SRC="3c.gif" align=TEXTTOP alt="EXPGUI Screen snapshot">
78<br clear=all>
[310]80<a name="EditBackground"></a>
81<h3>A.3.1 Editing background</h3> 
[435]83<img SRC="3b1.gif" align=TEXTOP alt="EXPGUI Screen snapshot">
[310]84When the button labeled "Edit Background", (or "Globally Edit Background"
85or in the case where <A href="expgui.html#multiplehistogram">
86"Multiple Histogram Selection" mode</A> is set to a single histogram type)
87is pressed, a window such as the one
88to the left is displayed. In the case where background coefficients
89are being edited for more than one histogram
90(<A href="expgui.html#multiplehistogram">
91"Multiple Histogram Selection" mode</A> must be
92set to a single histogram type) the entry boxes will appear blank
93and only those terms that are filled in will be changed when the "Set"
94button is pressed.
95This option is mostly useful when changing the background function or the
96number of terms for several histograms at a single time.
97Note that no changes are made until the "Set"
98button is pressed.
100<IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!">
101The "Fit Background Graphically" button is displayed only when a single
102histogram is selected for background editing. When this button is
103pressed, the <A HREF="liveplot.html#bkgedit">BKGEDIT</A> program is
104called to fit a background function to user-input fixed background points.
105See the <A HREF="liveplot.html#bkgedit">BKGEDIT documentation</A> for more
[310]108<br clear=all>
111<a name="EditParm"></a>
112<h3>A.3.2 Global Editing of Parameters</h3> 
114<img SRC="3d.gif" align=LEFT alt="EXPGUI Screen snapshot">
115The dialog to the left shows how
[435]116a diffractometer constant can be
[310]117edited for more than one histogram
118(<A href="expgui.html#multiplehistogram">
119"Multiple Histogram Selection" mode</A> must be
120set to a single histogram type).
121This menu is also used to globally set the
122<A href="expgui4.html">Phase Fraction</A>.
123<br clear=all>
127<a name="AddHist"></a>
128<h3>A.3.3 Entering New Diffractograms</h3> 
[444]130<img SRC="3e.gif" align=RIGHT alt="EXPGUI Screen snapshot">
[310]131Pressing the "Add New Histogram" button creates the dialog
[444]132to the left. This can be used to select diffraction data to be used
133in the refinement, or if the "dummy histogram" boxed is selected,
134a set of diffraction data can be simulated.
[444]136In the case where diffraction data will be input,
137a data file and an instrument parameter file must be
138selected using the "Select File" buttons. The limit for reflection
139generation (maximum energy or two-theta, or minimum d-space or TOF)
140must be entered, as well as the units.
141If more than one bank is defined, either in the data file or in the
142instrument parameter file, the bank must be selected as well.
143Note that the data range can be edited at a later time using the
144<a href="excledt.html">EXCLEDT</a> utility.
[435]146To view a plot of a data file, so that the range of the data
147may be viewed, the RAWPLOT program may be invoked using the "Run RAWPLOT"
148button. Note that EXPGUI cannot communicate the names
[310]149of the data and instrument parameter files to RAWPLOT, so they must be
[444]152<br clear=all>
153<img SRC="3e1.gif" align=RIGHT alt="EXPGUI Screen snapshot">
154When the dummy histogram option is selected, diffraction data can
155be simulated based a set of experimental constants
156described in an instrument parameter file.
157Note that most of these instrumental parameters,
158such as wavelength or DIFC can be edited on this pane or
159on the <A HREF="expgui5.html">profile</A> pane
160(the simulated pattern is also affected by constants on the
161<A HREF="expgui4.html">scaling</A> pane.)
162The 2-theta/energy/TOF
163range to be used for the computation, as well as the step size,
164must be entered before pressing the "Add" button.
165Note that once the histogram is added, this range and step size
166cannot be edited within EXPGUI at present. However,
167EXPEDT can be used to change these values.
168<br clear=all>
[310]170<a name="AddHistErr"></a>
[444]171<img SRC="3e2.gif" align=LEFT alt="EXPGUI Screen snapshot">
172If errors are detected in the input, an error message is displayed
173detailing where the errors are found. Otherwise, the EXPTOOL program is run
174and the output is optionally displayed
175(See <a href="expguic.html#exptoolout">Show EXPTOOL output</a>).
[444]177<br clear=all>
[435]179<h3>A.3.4 Editing the Data Range & Excluded Regions</h3> 
[444]181The button at the bottom of the pane, labeled
182"Set Data Limits & Excluded Regions" invokes
[435]183the <a href="excledt.html">EXCLEDT</a> utility, which is used to
184modify the lower and upper data limits and can be used to add or delete
185excluded regions.
188<h3>A.3.5 Setting Histogram Flags</h3> 
190<img SRC="3f.gif" align=RIGHT alt="EXPGUI Screen snapshot">
191The button at the bottom of the pane, labeled "Set Histogram Use Flags" invokes
192a menu where the "Use"/"Do not use" flag for powder histogram can be set.
193When this flag is turned off, the histogram is ignored for
194subsequent computations, effectively removing from the experiment.
196When these "Use" flags are changed, it is necessary to run POWPREF,
197to propogate the changes. After the "Save" button is pressed, a prompt such
198as the example below, is generated to run POWPREF. Note that GENLES may
199fail if POWPREF is not run after changing these flags.
200<br clear=all>
202<img SRC="3g.gif" align=TEXTTOP alt="EXPGUI Screen snapshot">
203<br clear=all>
207<TR><TH><A  Href="expgui.html">EXPGUI top</A> 
208</TH><TH><A Href="expgui4.html">Next page</A>
209</TH><TH><A Href="expgui2.html">Previous page</A>
[273]212<a href="">Brian Toby</a> (<a href="">Brian.Toby@NIST.GOV</a>)
214$Revision: 444 $ $Date: 2009-12-04 23:06:16 +0000 (Fri, 04 Dec 2009) $
Note: See TracBrowser for help on using the repository browser.