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