source: trunk/doc/expgui.html @ 258

Last change on this file since 258 was 226, checked in by toby, 11 years ago

# on 2000/07/03 21:44:27, toby did:
make into multiple pages

  • Property rcs:author set to toby
  • Property rcs:date set to 2000/07/03 21:44:27
  • Property rcs:lines set to +45 -328
  • Property rcs:rev set to 1.13
  • Property rcs:state set to Exp
  • Property svn:keywords set to Author Date Revision Id
File size: 11.9 KB
[148]3   <META NAME="Author" CONTENT="Brian H. Toby">
4   <title>EXPGUI</title>
[148]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">
25A Graphical User Interface for
26<A Href="">
30EXPGUI is a graphical interface for the
31<A Href="">
32GSAS</A> package.
33It allows two types of actions:
[202]34it can be used to directly modify the GSAS
35experiment file with a graphical user interface (GUI) and
36it can be used to invoke the programs inside the
37GSAS package such as EXPEDT, GENLES, FOURIER...
38These programs can be run from a menu or in many cases by pressing buttons.
41This documentation describes the different actions that
42can be accomplished with the different panes and the
43contents of the menus. Other documents about EXPGUI are:
44<a name="installation"></A>
45<A HREF="expgui_Win_readme.html">
46Installation notes for Windows</A>,
47<A HREF="expgui_Unix_readme.html">
48Installation notes for UNIX</A>,
[148]49<A HREF="expgui_cfg.html">
[202]50Customization notes</A> and two example tutorials: for
51<A HREF="tutorial1/index.html">
54<A HREF="tutorial2/index.html">
55constant-wavelength neutron</A>.
56Note that screen images in this document are not updated as frequently as the
[202]60<h2>A. Experiment file editing</h2>
62Different sections of the .EXP file can be edited by selecting different
[202]63panes ("pages" or "panels") from the tabbed list.
[202]65<br>The notebook pane tabs.
[24]66<br><img SRC="panebar1.gif"  BORDER=3 >
[226]68More information about each pane can be found using the links below.
[226]70<A Href="expgui1.html">
[202]71<h3>A.1 Least Squares (LS) Controls Pane</h3>
[226]72</A><A Href="expgui2.html">
[202]73<h3>A.2 Phase Pane</h3> 
[226]74</A><A Href="expgui3.html">
[202]75<h3>A.3 Histogram pane</h3> 
[226]76</A><A Href="expgui4.html">
[202]77<h3>A.4 Scaling pane</h3> 
[226]78</A><A Href="expgui5.html">
[202]79<h3>A.5 Profile pane</h3> 
[226]80</A><A Href="expgui6.html">
[202]81<h3>A.6 Constraints pane</h3>
[226]82</A><A Href="expgui7.html">
[202]83<h3>A.7 Preferential Orientation Pane</h3></a>
86<h2>B. Shortcuts</h2></a>
[24]87<a name="multiplehistogram">
[202]88<h3>B.1 Multiple Histogram Selection</h3></a>
90This mode allows parameters to be changed for groups of
92When the "Multiple Histogram Selection" mode is off,
93it is possible to modify parameters
94and refinement flags for only a single histogram, but
95the other settings allow groups of histograms
96to be selected and modified.
97<A href="#mouseactions">(see Mouse Actions)</A>.
[24]99It does not make sense, however, to globally modify
100instrument-related parameters and flags for different
101histogram types.
102So global actions can be limited to a single class
103of histogram types (e.g. TOF, CW Neutron,...), which
104allows these parameters to be set for groups of
105similar histograms. Thus, if this mode is set to "All"
[202]106the Histogram and Profile panes are disabled.
108The setting for "Multiple Histogram Selection" mode is
[226]109displayed above each histogram selection box and is
[24]110selected using the "Multiple Hist. Selection" item on the
[226]111Options menu to create a submenu or by clicking on the display.
112Note that another option in this "Multiple Hist. Selection"
113submenu is an option "Group Phases Together" that controls how
114EXPGUI treats phases having
115the same profile type that is used when multiple histograms are selected. If
[115]116the "Group Phases Together" option is on, then the refinement flags for
117all phases with the same histogram types are grouped together, when possible.
118If this option is off, phases are treated separately.
[226]119<IMG SRC="new.gif" HEIGHT=13 WIDTH=36>
120If the left mouse button is used to click on the selection mode display,
121the mode is cycled between the available modes. If the right mouse
122button is used, the mode is reset, to disable multiple histogram selection.
124<a name="mouseactions">
[202]126<h3>B.2 Mouse Actions</h3></a>
128A range of atoms or (in multiple selection mode) histograms may be
129selected by dragging (holding down) the left mouse button. It is also
130possible to select a range by using the Shift key with the left mouse
131button. To select or deselect individual entries, use the Control key
[96]132with the left mouse button. Pressing the right mouse button selects all
133entries in a list.
[202]136<h2>C. Menu Commands and Programs</h2>
138GSAS programs are invoked either through use of the menu bar
140<br>The menu bar.
141<br><img SRC="menubar.gif" BORDER=3 >
143or by "pressing" a button on the button bar. The button bar
144simply provides an easy way to access commonly used
145actions on the menu bar. Users can
146<A HREF="expgui_cfg.html">
147configure the menu bar</A> to include their own preferred actions and, with
148some knowledge of the program and Tcl/Tk,
149add their own commands to the menu bar or button bar.
152<br>The button bar.
153<br><img SRC="buttonbar.gif" BORDER=3 >
[226]156A description of the EXPGUI menus follows. Use the links to obtain
157more information, including a very
[24]158brief description of the function of each menu option.
159Note that an option may appear under more than one menu.
163<A Href="expguic.html#1">
[202]164<H3>C.1 File Menu</H3>
167The options on the File menu as is the custom contains the commands
168for reading and writing experiment files, as well as starting
169and ending the program.
[226]172<A Href="expguic.html#2">
[202]173<h3>C.2 Options Menu</h3>
176This menu contains options that determine how EXPGUI runs.
[226]179<A Href="expguic.html#3">
[202]180<h3>C.3 Powder Menu</h3>
183This menu contains links to GSAS programs used for powder diffraction
[226]187<A Href="expguic.html#4">
[202]188<h3>C.4 Single Crystal Menu</h3>
191This menu contains links to GSAS programs used for
[226]192single-crystal diffraction analysis.
[226]195<A Href="expguic.html#5">
[202]196<h3>C.5 Graphics Menu</h3>
199This menu contains links to several GSAS and
200two non-GSAS (liveplot and widplt)
201programs used for graphical display of data and results.
[226]204<A Href="expguic.html#6">
[202]205<h3>C.6 Results Menu</h3>
208This menu contains links to several GSAS and
209one non-GSAS (lstview)
210programs used for analysis of results.
[226]213<A Href="expguic.html#7">
[202]214<h3>C.7 Calculations Menu</h3>
217This menu contains programs for useful crystallographic computations.
[226]220<A Href="expguic.html#8">
[202]221<h3>C.8 Import/Export Menu</h3>
224This menu contains utilities for importing information into GSAS and
[202]229<h2>D. EXPGUI Utility Programs</h2></a>
233<P>lstview is used to browse through the GSAS output listing. It is
234invoked by the "lstview" command in the GUI.
[96]235<CENTER><IMG SRC="textview.gif"></CENTER>
240<P>liveplot shows the observed, calculated and difference plots for powder
241refinements. The plot is updated as the refinement progresses. The mouse can
242be used to zoom in on sections of the plot.
[148]243Liveplot uses the <A href="#blt">BLT</A> graphics package.
[96]244<CENTER><IMG SRC="liveplot.gif"></CENTER>
[26]245<IMG SRC="new.gif" HEIGHT=13 WIDTH=36>
246LIVEPLOT can now be enhanced to superimpose peak locations for
247input unit cells or peaks from JCPDS/ICDD entries.
[96]248See the <A HREF="expgui_cfg.html#liveplot">
[26]249LIVEPLOT customization information</A> 
[37]250or read file <tt>expgui_cfg.html</tt> in the <tt>gsas/tcl/doc</tt> directory.
252LIVEPLOT gets the current diffraction information by running the TCLDUMP program, if installed, or
253HSTDUMP otherwise. The TCLDUMP program has been optimized for use with LIVEPLOT and offers a number of extra
254options that are not available when HSTDUMP is used: plots can be displayed in the native units (2Theta/TOF/KeV), or
[154]255in d-space or Q; fixed plus fitted background curves are shown in green; if reflection tickmarks are displayed, <IMG SRC="new.gif" HEIGHT=13 WIDTH=36>
256reflection tickmarks can be displayed by pressing "H" or "h" while the
257mouse is near a reflection (holding the shift key while
258pressing the left mouse button also works).
[66]259See the installation instructions for installing TCLDUMP.
[148]262<P>WIDPLT can be used to plot the actual peak widths generated by the profile
263parameters used in GSAS.
264It is possible to define reference curves
265that are loaded automatically.
266WIDPLT uses the <A href="#blt">BLT</A> graphics package.
[96]267<CENTER><IMG SRC="widplt.gif"></CENTER>
[148]271<A name=blt>
274The BLT graphics package is used by the WIDPLT and LIVEPLOT routines. If the
275package can not be loaded these routines, an error message,
276"Error -- Unable to load the BLT package", will be displayed. A frequent
277problem is the package is installed, but not configured so that common
278support routines are loaded automatically. If this is the case,
279a message, "BLT Setup Error: could not access a Blt_ routine...",
280will be displayed.
281Please see
282<A HREF="">
284</A> for more information on installation of BLT.
[66]288Praise to Larson and
[103]289<A HREF="">
290Von Dreele</A> for GSAS, <A HREF="">Ousterhout</A>
[37]291for Tcl/Tk,
[103]292Przemek Klosowski</A>
[37]293for convincing me to learn Tcl/Tk
[202]294and Jonathan Wasserman for helping get this project started.
295Large sections of the Preferred Orientation GUI were written by
296Pamela Whitfield of the NRC (Canada).
[148]298<A Href="">
300is written by Allen C. Larson and <A HREF="">
[66]301Robert B. Von Dreele</A>, MS-H805,
[26]302Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions
303or kudos concerning GSAS should be sent to Robert B. Von Dreele at
304<A HREF=""></A>
[202]305EXPGUI is written by Brian H. Toby of the NIST Center for Neutron Research,
306<A HREF="MAILTO:Brian.Toby@NIST.GOV">Brian.Toby@NIST.GOV</A> 
307with help from Jonathan Wasserman.
309<P>GSAS is Copyright, 1984-2000, by
310the Regents of the University of California.
[26]311The GSAS software was produced under a U.S. Government contract (W-7405-ENG-36)
312by the Los Alamos National Laboratory, which is operated by the University
313of California for the U.S. Department of Energy. The U.S. Government is
314licensed to use, reproduce, and distribute this software. Permission is
315granted to the public to copy and use this software without charge, provided
316that this notice and any statement of authorship are reproduced on all
317copies. Neither the Government nor the University makes any warranty, express
318or implied, or assumes any liability or responsibility for the use of this
[202]321<P>EXPGUI is not subject to copyright. Have fun with it. Modify it. Write
[226]322new sections and make them available to the rest of the world.
324<p>Neither the U.S. Government nor any author makes any warranty,
[24]325expressed or implied, or assumes any liability or responsibility
326for the use of this information or the software described
327here. Brand names cited here are used for
328identification purposes and do not consitute an endorsement by NIST.
[103]330<p><a href="">Brian Toby</a> (<a href="">Brian.Toby@NIST.GOV</a>)
332$Revision: 226 $ $Date: 2009-12-04 23:02:30 +0000 (Fri, 04 Dec 2009) $
Note: See TracBrowser for help on using the repository browser.