1 | <html> |
---|
2 | <head> |
---|
3 | <META NAME="Author" CONTENT="Brian H. Toby"> |
---|
4 | <title>EXPGUI</title> |
---|
5 | <meta name="keywords" content="crystallography, Rietveld, diffraction, |
---|
6 | GSAS, EXPGUI"> |
---|
7 | </HEAD> |
---|
8 | <style> |
---|
9 | A:link {text-decoration:none} |
---|
10 | A:vlink {text-decoration:none} |
---|
11 | </style> |
---|
12 | |
---|
13 | <BODY BGCOLOR="#FFFFFF" |
---|
14 | topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" |
---|
15 | text="#000000" link="#0033ff" vlink="#0033ff" alink="#0033ff"> |
---|
16 | |
---|
17 | <? |
---|
18 | include("/var/www/include/navigation.inc"); |
---|
19 | include("/var/www/include/utility.inc"); |
---|
20 | ?> |
---|
21 | <blockquote><font face="arial, helvetica, sans-serif"> |
---|
22 | |
---|
23 | <center><h1> |
---|
24 | <HR noshade width="75%" size="2" align="center"> |
---|
25 | EXPGUI<BR> |
---|
26 | A Graphical User Interface for |
---|
27 | <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/gsas.html"> |
---|
28 | GSAS</A> |
---|
29 | <HR noshade width="75%" size="2" align="center"> |
---|
30 | </h1></center> |
---|
31 | <P><P> |
---|
32 | <I><B> |
---|
33 | <blockquote> |
---|
34 | Note that the current EXPGUI release is intended to work with the |
---|
35 | current GSAS release. [EXPGUI v1.47 or later requires GSAS from Oct 2001 |
---|
36 | (or later) for all features to work as described]. |
---|
37 | </blockquote> |
---|
38 | </I></B> |
---|
39 | <P><P> |
---|
40 | EXPGUI is a graphical interface for the |
---|
41 | Los Alamos |
---|
42 | <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/gsas.html"> |
---|
43 | GSAS</A> package. |
---|
44 | EXPGUI does two things: |
---|
45 | it can be used to directly modify the GSAS |
---|
46 | experiment file with a graphical user interface (GUI) and |
---|
47 | it can be used to invoke the programs inside the |
---|
48 | GSAS package such as EXPEDT, GENLES, FOURIER... |
---|
49 | These programs can be run from a menu or in many cases by pressing buttons. |
---|
50 | EXPGUI is written using the |
---|
51 | <A href="#tcltk">Tcl/Tk</A> scripting language. |
---|
52 | <P> |
---|
53 | This web page describes the different actions that |
---|
54 | can be accomplished with the different panes and the |
---|
55 | contents of the menus. The table below contains links to the other |
---|
56 | web accessible documentation. |
---|
57 | <P> |
---|
58 | <TABLE BORDER BGCOLOR="#FFFF40" ALIGN=CENTER> |
---|
59 | <TR><TH BGCOLOR="#F0F0F0" rowspan=3>GUI Sections</TH> |
---|
60 | <TH><A Href="expgui1.html">Least Squares</A></TH> |
---|
61 | <TH><A Href="expgui2.html">Phase info</A></TH> |
---|
62 | <TH><A Href="expgui3.html">Histogram info</A></TH> |
---|
63 | </TR> |
---|
64 | <TR> |
---|
65 | <TH><A Href="expgui4.html">Scaling info</A></TH> |
---|
66 | <TH><A Href="expgui5.html">Profile terms</A></TH> |
---|
67 | <TH><A Href="expgui6.html">Constraints</A></TH> |
---|
68 | </TR> |
---|
69 | <TR> |
---|
70 | <TH><A Href="expgui7.html">Preferred Orientation</A></TH> |
---|
71 | <TH><A Href="expguic.html">Menus</A></TH> |
---|
72 | <TH> </TH> |
---|
73 | </TR> |
---|
74 | <TR><TH BGCOLOR="#F0F0F0" rowspan=2>Utilities:</TH> |
---|
75 | <TH><A Href="liveplot.html">LIVEPLOT</A></TH> |
---|
76 | <TH><A Href="liveplot.html">BKGEDIT</A></TH> |
---|
77 | <TH><A Href="excledt.html">EXCLEDT</A></TH> |
---|
78 | </TR> |
---|
79 | <TR> |
---|
80 | <TH><A Href="#WIDPLT">WIDPLT</A></TH> |
---|
81 | <TH><A Href="#ABSPLT">ABSPLT</A></TH> |
---|
82 | <TH> </TH> |
---|
83 | </TR> |
---|
84 | <TR><TH BGCOLOR="#F0F0F0">Installation Notes:</TH> |
---|
85 | <TH><A Href="expgui_Unix_readme.html">Unix</A></TH> |
---|
86 | <TH><A Href="expgui_Win_readme.html">Windows</A></TH> |
---|
87 | <TH><A Href="expgui_cfg.html">Customization</A></TH> |
---|
88 | </TR> |
---|
89 | <TR><TH BGCOLOR="#F0F0F0">Tutorials:</TH> |
---|
90 | <TH><A Href="http://www.ncnr.nist.gov/xtal/software/expgui/tutorial1/index.html">TOF</A></TH> |
---|
91 | <TH><A Href="http://www.ncnr.nist.gov/xtal/software/expgui/tutorial2/index.html">CW Neutron</A></TH> |
---|
92 | <TH> </TH> |
---|
93 | </TR> |
---|
94 | <TR><TH BGCOLOR="#F0F0F0">Messages:</TH> |
---|
95 | <TH><A Href="expguierr.html#Error">Error</A></TH> |
---|
96 | <TH><A Href="expguierr.html#Warn">Warning</A></TH> |
---|
97 | <TH><A Href="expguierr.html#Info">Informational</A></TH> |
---|
98 | </TR> |
---|
99 | <TR><TH BGCOLOR="#F0F0F0">Other:</TH> |
---|
100 | <TH><A Href="expgui_intro.html">Introduction</A></TH> |
---|
101 | <TH><A Href="wishlist.html">Recent & Planned<BR>Improvements</A></TH> |
---|
102 | <TH><A Href="http://www.ncnr.nist.gov/xtal/software/EXPGUI_reprint.pdf"> |
---|
103 | <I>J. Appl. Cryst.</i><BR>article</A></TH> |
---|
104 | </TR> |
---|
105 | </TABLE><BR CLEAR=ALL> |
---|
106 | <P> |
---|
107 | <B>Citations.</B> |
---|
108 | The appropriate citations to be used for GSAS and EXPGUI are: |
---|
109 | <UL> |
---|
110 | <LI> |
---|
111 | A.C. Larson and R.B. Von Dreele, "General Structure Analysis System (GSAS)", |
---|
112 | Los Alamos National Laboratory Report LAUR 86-748 (2000). |
---|
113 | <A HREF="ftp://ftp.lanl.gov/public/gsas/manual/GSASManual.pdf"> |
---|
114 | [link to PDF file at Los Alamos ftp server] |
---|
115 | </A> |
---|
116 | <LI> |
---|
117 | B. H. Toby, <i>EXPGUI</i>, a graphical user interface for <i>GSAS</i>, |
---|
118 | <i>J. Appl. Cryst.</i> <b>34</b>, 210-213 (2001). |
---|
119 | <A HREF="http://www.ncnr.nist.gov/xtal/software/EXPGUI_reprint.pdf"> |
---|
120 | [link to PDF file] |
---|
121 | </A> |
---|
122 | </UL> |
---|
123 | <P> |
---|
124 | <B>Mailing List.</B> |
---|
125 | If you would like to get news about about new features |
---|
126 | & bug fixes in EXPGUI and also support |
---|
127 | the project by demonstrating how many people use it, |
---|
128 | please send e-mail to |
---|
129 | <a href="mailto:brian.toby@nist.gov?subject=EXPGUI Mailing List">Brian.Toby@NIST.GOV</a>. |
---|
130 | <P> |
---|
131 | <hr> |
---|
132 | |
---|
133 | <h2>A. Experiment file editing</h2> |
---|
134 | <P> |
---|
135 | <DL><DL> |
---|
136 | When an experiment (.EXP) file is read, a copy is made in local |
---|
137 | computer memory. In most cases, values are changed in this |
---|
138 | "in memory" copy of the experiment file |
---|
139 | as this information is changed by the user on the screen. |
---|
140 | <img SRC="rederror.gif" align=LEFT BORDER=3 alt="EXPGUI Screen snapshot"> |
---|
141 | <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!"> |
---|
142 | If there is an error in the typed value, (for example if "1..0" is typed, or |
---|
143 | "1.5" is typed where an integer is expected), these values are |
---|
144 | not saved. In this case, the text is turned red, to indicate |
---|
145 | that an error is present, as shown in the figure to the left, where "90.000x" |
---|
146 | has been entered for alpha. |
---|
147 | The edited version of the experiment file is written back out to |
---|
148 | disk when the "File/Save" or "File/Save as" |
---|
149 | <A Href="expguic.html#1">menu bar options</A> |
---|
150 | are used. The File/Save operation is done automatically before any GSAS |
---|
151 | programs, such as GENLES or EXPEDT, are run. |
---|
152 | <P> |
---|
153 | |
---|
154 | Since the GSAS experiment file is quite complex, |
---|
155 | values are grouped together by function, approximately |
---|
156 | following the outline of the EXPEDT program. |
---|
157 | Each set of values is given a |
---|
158 | "tabbed pane" on a window that has the appearance of a notebook (see below). |
---|
159 | <center><B> |
---|
160 | <br>The notebook pane tabs. |
---|
161 | <br><img SRC="panebar1.gif" BORDER=3 alt="EXPGUI Screen snapshot"> |
---|
162 | </center></B> |
---|
163 | In some cases, where values are |
---|
164 | too numerous or complex to fit onto the notebook pane, one or more buttons |
---|
165 | may be present on a pane that will create a separate window, |
---|
166 | where the associated values can be modified. |
---|
167 | These values are not recorded in the |
---|
168 | "in memory" copy of the experiment file unless the "Save" button on this window |
---|
169 | is pressed. If "Cancel" is pressed, no changes are made. |
---|
170 | Each notebook pane is listed below with a link to the web page documenting |
---|
171 | that pane. |
---|
172 | |
---|
173 | <A Href="expgui1.html"> |
---|
174 | <h3>A.1 Least Squares (LS) Controls Pane</h3> |
---|
175 | </A><A Href="expgui2.html"> |
---|
176 | <h3>A.2 Phase Pane</h3> |
---|
177 | </A><A Href="expgui3.html"> |
---|
178 | <h3>A.3 Histogram pane</h3> |
---|
179 | </A><A Href="expgui4.html"> |
---|
180 | <h3>A.4 Scaling pane</h3> |
---|
181 | </A><A Href="expgui5.html"> |
---|
182 | <h3>A.5 Profile pane</h3> |
---|
183 | </A><A Href="expgui6.html"> |
---|
184 | <h3>A.6 Constraints pane</h3> |
---|
185 | </A><A Href="expgui7.html"> |
---|
186 | <h3>A.7 Preferential Orientation Pane</h3> |
---|
187 | </A> |
---|
188 | <br clear=all> |
---|
189 | </DL></DL> |
---|
190 | <h2>B. Shortcuts</h2></a> |
---|
191 | <a name="multiplehistogram"> |
---|
192 | <h3>B.1 Multiple Histogram Selection</h3></a> |
---|
193 | <DL><DL> |
---|
194 | This mode allows parameters to be changed for groups of |
---|
195 | histograms. |
---|
196 | When the "Multiple Histogram Selection" mode is off, |
---|
197 | it is possible to modify parameters |
---|
198 | and refinement flags for only a single histogram, but |
---|
199 | the other settings allow groups of histograms |
---|
200 | to be selected and modified. |
---|
201 | <A href="#mouseactions">(see Mouse Actions)</A>. |
---|
202 | <P> |
---|
203 | It does not make sense, however, to globally modify |
---|
204 | instrument-related parameters and flags for different |
---|
205 | histogram types. |
---|
206 | So global actions can be limited to a single class |
---|
207 | of histogram types (e.g. TOF, CW Neutron,...), which |
---|
208 | allows these parameters to be set for groups of |
---|
209 | similar histograms. Thus, if this mode is set to "All" |
---|
210 | the Histogram and Profile panes are disabled. |
---|
211 | <P> |
---|
212 | The setting for "Multiple Histogram Selection" mode is |
---|
213 | displayed above each histogram selection box and is |
---|
214 | selected using the "Multiple Hist. Selection" item on the |
---|
215 | Options menu to create a submenu or by clicking on the display. |
---|
216 | Note that another option in this "Multiple Hist. Selection" |
---|
217 | submenu is an option "Group Phases Together" that controls how |
---|
218 | EXPGUI treats phases having |
---|
219 | the same profile type that is used when multiple histograms are selected. If |
---|
220 | the "Group Phases Together" option is on, then the refinement flags for |
---|
221 | all phases with the same histogram types are grouped together, when possible. |
---|
222 | If this option is off, phases are treated separately. |
---|
223 | <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!"> |
---|
224 | If the left mouse button is used to click on the selection mode display, |
---|
225 | the mode is cycled between the available modes. If the right mouse |
---|
226 | button is used, the mode is reset, to disable multiple histogram selection. |
---|
227 | <p> |
---|
228 | <a name="mouseactions"> |
---|
229 | </DL></DL> |
---|
230 | <h3>B.2 Mouse Actions</h3></a> |
---|
231 | <DL><DL> |
---|
232 | A range of atoms or (in multiple selection mode) histograms may be |
---|
233 | selected by dragging (holding down) the left mouse button. It is also |
---|
234 | possible to select a range by using the Shift key with the left mouse |
---|
235 | button. To select or deselect individual entries, use the Control key |
---|
236 | with the left mouse button. Pressing the right mouse button selects all |
---|
237 | entries in a list. |
---|
238 | </DL></DL> |
---|
239 | |
---|
240 | <h2>C. Menu Commands and Programs</h2> |
---|
241 | <p> |
---|
242 | GSAS programs are invoked either through use of the menu bar |
---|
243 | <center><B> |
---|
244 | <br>The menu bar. |
---|
245 | <br><img SRC="menubar.gif" BORDER=3 alt="EXPGUI Screen snapshot"> |
---|
246 | </center></B> |
---|
247 | or by "pressing" a button on the button bar. The button bar |
---|
248 | simply provides an easy way to access commonly used |
---|
249 | actions on the menu bar. Users can |
---|
250 | <A HREF="expgui_cfg.html"> |
---|
251 | configure the menu bar</A> to include their own preferred actions and, with |
---|
252 | some knowledge of the program and Tcl/Tk, |
---|
253 | add their own commands to the menu bar or button bar. |
---|
254 | |
---|
255 | <center><B> |
---|
256 | <br>The button bar. |
---|
257 | <br><img SRC="buttonbar.gif" BORDER=3 alt="EXPGUI Screen snapshot"> |
---|
258 | </center></B> |
---|
259 | |
---|
260 | <h3>Invoking of GSAS programs</h3> |
---|
261 | When GSAS programs are invoked, in most cases EXPGUI is suspended while |
---|
262 | the GSAS program is run in a terminal (or DOS) window. When the terminal |
---|
263 | window is closed, EXPGUI is restarted. If desired (see the |
---|
264 | <A Href="expguic.html#Autoicon"> |
---|
265 | "Iconify during GSAS"</A> |
---|
266 | option) while this occurs, EXPGUI can be made into an icon |
---|
267 | to save screen space. |
---|
268 | <P> |
---|
269 | <img src="powpref4a.gif" align=left> |
---|
270 | Once the GSAS program has finished, if the program has modified |
---|
271 | the .EXP file, |
---|
272 | <a Href="expguierr.html#Overwrite"> |
---|
273 | "File has been modified..."</a>message box |
---|
274 | similar to the one to the left is displayed (also see the more complete |
---|
275 | discussion on the <a Href="expguierr.html#Overwrite">messages page</A>. |
---|
276 | Note that this message can be avoided if the |
---|
277 | <A Href="expguic.html#Autoupdate"> |
---|
278 | "Autoload EXP"</A> |
---|
279 | option is used. |
---|
280 | <BR clear=all> |
---|
281 | <P> |
---|
282 | Note that in both Windows-95 and Windows-NT, a file named <tt>EXPGUI.LCK</tt> |
---|
283 | is created while the GSAS program runs. The presence of this file is used |
---|
284 | to suspend the LIVEPLOT program, since LIVEPLOT has sometimes crashed |
---|
285 | when run at the same time as GENLES (no such problem has been seen in Unix). |
---|
286 | This file is deleted when the GSAS program completes. |
---|
287 | <P> |
---|
288 | <img src="lock.gif" align=left> |
---|
289 | In Windows-9x, the <a Href="expgui_Win_readme.html#Winexec">Winexec</a> |
---|
290 | package is used to execute a command that creates a DOS window. |
---|
291 | The GSAS programs are then run by a batch file in this DOS window. |
---|
292 | Due to limitations in Tcl/Tk & Windows, the DOS window runs independently |
---|
293 | of EXPGUI, so the lock file (<tt>EXPGUI.LCK</tt>) is also used to suspend |
---|
294 | EXPGUI. While EXPGUI is waiting, the |
---|
295 | <a Href="expguierr.html#lock"> |
---|
296 | Please wait... |
---|
297 | </a> |
---|
298 | window shown to the left is displayed. When the GSAS program completes, the |
---|
299 | lock file is deleted, the window automatically disappears and EXPGUI resumes. |
---|
300 | Should a problem arise where the file is not deleted, EXPGUI can be resumed by |
---|
301 | pressing the "Continue" button. |
---|
302 | |
---|
303 | <BR clear=all> |
---|
304 | <h3>GSAS menus</h3> |
---|
305 | |
---|
306 | A description of the EXPGUI menus follows. Use the links to obtain |
---|
307 | more information, including a very |
---|
308 | brief description of the function of each menu option. |
---|
309 | Note that an option may appear under more than one menu. |
---|
310 | |
---|
311 | <DL><DL> |
---|
312 | |
---|
313 | <A Href="expguic.html#1"> |
---|
314 | <H3>C.1 File Menu</H3> |
---|
315 | </A> |
---|
316 | <DL><DL> |
---|
317 | The options on the File menu as is the custom contains the commands |
---|
318 | for reading and writing experiment files, as well as starting |
---|
319 | and ending the program. |
---|
320 | </DL></DL> |
---|
321 | |
---|
322 | <A Href="expguic.html#2"> |
---|
323 | <h3>C.2 Options Menu</h3> |
---|
324 | </A> |
---|
325 | <DL><DL> |
---|
326 | This menu contains options that determine how EXPGUI runs. |
---|
327 | </DL></DL> |
---|
328 | |
---|
329 | <A Href="expguic.html#3"> |
---|
330 | <h3>C.3 Powder Menu</h3> |
---|
331 | </A> |
---|
332 | <DL><DL> |
---|
333 | This menu contains links to GSAS programs used for powder diffraction |
---|
334 | analysis. |
---|
335 | </DL></DL> |
---|
336 | |
---|
337 | <A Href="expguic.html#4"> |
---|
338 | <h3>C.4 Single Crystal Menu</h3> |
---|
339 | </A> |
---|
340 | <DL><DL> |
---|
341 | This menu contains links to GSAS programs used for |
---|
342 | single-crystal diffraction analysis. |
---|
343 | </DL></DL> |
---|
344 | |
---|
345 | <A Href="expguic.html#5"> |
---|
346 | <h3>C.5 Graphics Menu</h3> |
---|
347 | </A> |
---|
348 | <DL><DL> |
---|
349 | This menu contains links to several GSAS and |
---|
350 | non-GSAS programs (such as LIVEPLOT and WIDPLT) |
---|
351 | used for graphical display of data and results. |
---|
352 | </DL></DL> |
---|
353 | |
---|
354 | <A Href="expguic.html#6"> |
---|
355 | <h3>C.6 Results Menu</h3> |
---|
356 | </A> |
---|
357 | <DL><DL> |
---|
358 | This menu contains links to several GSAS and |
---|
359 | one non-GSAS (LSTVIEW) |
---|
360 | programs that are used for analysis of results. |
---|
361 | </DL></DL> |
---|
362 | |
---|
363 | <A Href="expguic.html#7"> |
---|
364 | <h3>C.7 Calculations Menu</h3> |
---|
365 | </A> |
---|
366 | <DL><DL> |
---|
367 | This menu contains programs for useful crystallographic computations. |
---|
368 | </DL></DL> |
---|
369 | |
---|
370 | <A Href="expguic.html#8"> |
---|
371 | <h3>C.8 Import/Export Menu</h3> |
---|
372 | </A> |
---|
373 | <DL><DL> |
---|
374 | This menu contains utilities for importing information into GSAS and |
---|
375 | exporting. |
---|
376 | </DL></DL> |
---|
377 | |
---|
378 | <h2>D. EXPGUI Utility Features</h2></a> |
---|
379 | EXPGUI adds a number of useful functions to the GSAS package. Some, |
---|
380 | but not all, of these features are graphically oriented. |
---|
381 | |
---|
382 | <br clear=all> |
---|
383 | <H3>D.1 LSTVIEW</H3> |
---|
384 | |
---|
385 | <DL><DL> |
---|
386 | LSTVIEW is used to browse through the GSAS output listing. It is |
---|
387 | invoked by the "lstview" command in the GUI. |
---|
388 | <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!">LSTVIEW can also be used |
---|
389 | to shorten the .LST file by removing older results from the beginning |
---|
390 | of the file. |
---|
391 | <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!">LSTVIEW can also be used to plot R-factors and parameter shifts |
---|
392 | as a function of the cycle number. |
---|
393 | <CENTER><IMG SRC="textview.gif" alt="EXPGUI Screen snapshot"></CENTER> |
---|
394 | </DL></DL> |
---|
395 | |
---|
396 | <br clear=all> |
---|
397 | <H3>D.2 LIVEPLOT</H3> |
---|
398 | <DL><DL> |
---|
399 | <A HREF="liveplot.html">LIVEPLOT</A> shows the observed, calculated |
---|
400 | and difference plots for powder |
---|
401 | refinements. The plot is updated as the refinement progresses. The mouse can |
---|
402 | be used to zoom in on sections of the plot. |
---|
403 | LIVEPLOT uses the <A href="#blt">BLT</A> graphics package. |
---|
404 | <CENTER><IMG SRC="liveplot.gif" alt="LIVEPLOT Screen snapshot"></CENTER> |
---|
405 | <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!"> |
---|
406 | LIVEPLOT can now be enhanced to superimpose peak locations for |
---|
407 | input unit cells or peaks from JCPDS/ICDD entries. |
---|
408 | See the <A HREF="liveplot.html">LIVEPLOT web page</A> for |
---|
409 | further documentation, and in particular, the |
---|
410 | See the <A HREF="liveplot.html#customize"> |
---|
411 | LIVEPLOT customization information</A>. |
---|
412 | <P> |
---|
413 | </DL></DL> |
---|
414 | <br clear=all> |
---|
415 | <H3>D.3 BKGEDIT</H3> |
---|
416 | <DL><DL> |
---|
417 | <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!"> |
---|
418 | <A HREF="liveplot.html#bkgedit">BKGEDIT</A> is used to |
---|
419 | fit a GSAS background function to a set of fixed |
---|
420 | background points that are input using the mouse. |
---|
421 | The mouse can also be used to zoom in on sections of the plot. |
---|
422 | BKGEDIT uses the <A href="#blt">BLT</A> graphics package. |
---|
423 | <CENTER><IMG SRC="b2.gif" alt="BKGEDIT Screen snapshot"></CENTER> |
---|
424 | See the <A HREF="liveplot.html#bkgedit">BKGEDIT web page</A> for |
---|
425 | further documentation. |
---|
426 | <P> |
---|
427 | </DL></DL> |
---|
428 | <br clear=all> |
---|
429 | <H3>D.4 EXCLEDT</H3> |
---|
430 | <DL><DL> |
---|
431 | <A HREF="excledt.html">EXCLEDT</A> is used to edit the |
---|
432 | range of data used from a histogram. The upper & lower ranges |
---|
433 | can be adjusted to include more data or use less. Also, it is |
---|
434 | possible to remove sections of the data (exclude regions) that |
---|
435 | have known systematic errors that cannot be modeled. |
---|
436 | EXCLEDT uses the <A href="#blt">BLT</A> graphics package. |
---|
437 | <CENTER><IMG SRC="exc1a.gif" alt="EXCLEDT Screen snapshot"></CENTER> |
---|
438 | See the <A HREF="excledt.html">EXECLEDT web page</A> for |
---|
439 | further documentation. |
---|
440 | <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!"> |
---|
441 | EXCLEDT can now be used to change the simulation range for dummy histograms. |
---|
442 | <P> |
---|
443 | </DL></DL> |
---|
444 | |
---|
445 | <br clear=all> |
---|
446 | <a name="WIDPLT"></a> |
---|
447 | <a name="ABSPLT"></a> |
---|
448 | <H3>D.5 WIDPLT and ABSPLT</H3> |
---|
449 | <DL><DL> |
---|
450 | WIDPLT is used to plot the peak widths that are generated by a set |
---|
451 | of GSAS profile terms (constant wavelength equations, only). |
---|
452 | The parameters from each phase & histogram will be |
---|
453 | read from the .EXP file. It is also possible to input parameters manually. |
---|
454 | By creating a special file (<A HREF="expgui_cfg.html#import"> |
---|
455 | described in the customization information</A>), it |
---|
456 | is possible to define reference curves |
---|
457 | that are loaded automatically for comparison. |
---|
458 | <CENTER><IMG SRC="widplt.gif" alt="EXPGUI Screen snapshot"></CENTER> |
---|
459 | <P> |
---|
460 | ABSPLT is used to plot the absorption/reflectivity correction for a |
---|
461 | histogram. Values are loaded from the histogram(s), but can be edited manually. |
---|
462 | <P> |
---|
463 | WIDPLT and ABSPLT both use the <A href="#blt">BLT</A> graphics package. |
---|
464 | |
---|
465 | </DL></DL> |
---|
466 | |
---|
467 | <br clear=all> |
---|
468 | <a name="ConvertUnix"></a> |
---|
469 | <a name="ConvertWin"></a> |
---|
470 | <h3>D.6 File Conversions</h3> |
---|
471 | <DL><DL> |
---|
472 | <P> |
---|
473 | GSAS data, experiment and instrument parameter files are |
---|
474 | expected to have a format with exactly 80 characters per line followed |
---|
475 | by a carriage return and then a linefeed (82 characters total per line). |
---|
476 | Files in this format can be read in "Direct Access" mode. |
---|
477 | Recent versions of GSAS will attempt to detect and repair files that |
---|
478 | are not in this format, but if the file is incorrectly formatted and |
---|
479 | by chance the length of the file is divisible by 82, the problem in the |
---|
480 | file format will not be detected. |
---|
481 | The Convert menu |
---|
482 | in can be used to convert files into the correct format. |
---|
483 | The original version of the |
---|
484 | file is retained and renamed. |
---|
485 | <P> |
---|
486 | </DL></DL> |
---|
487 | |
---|
488 | <br clear=all> |
---|
489 | <a name="Composition"></a> |
---|
490 | <h3>D.7 Compute Composition</h3> |
---|
491 | <DL><DL> |
---|
492 | The composition box shows the unit cell and asymmetric unit composition |
---|
493 | for all phases in a material. Site multiplicities and occupancies are |
---|
494 | taken into account. |
---|
495 | </DL></DL> |
---|
496 | |
---|
497 | <br clear=all> |
---|
498 | <a name="DeleteHistoryRecords"></a> |
---|
499 | <h3>D.8 Delete History Records</h3> |
---|
500 | <DL><DL> |
---|
501 | Every time a GSAS program (including EXPGUI) is run, an entry is added to |
---|
502 | the "history records" in the .EXP file. After 999 entries have been written, |
---|
503 | no more can be added to the file. Further, reading large numbers of history |
---|
504 | records can slow the GSAS programs |
---|
505 | (this is less of a problem on faster computers). For these reasons, it may be |
---|
506 | a good idea to prune the older history records from the file. If more than 100 |
---|
507 | history records are found in an experiment file, EXPGUI suggests that the |
---|
508 | older history entries be deleted. Alternately the File/EraseHistory command |
---|
509 | can be used to invoke the this option. |
---|
510 | <P> |
---|
511 | On the dialog the number of history records to be retained is specified. |
---|
512 | Also, after records have been deleted, the remaining records can be renumbered |
---|
513 | starting with 1, so that the 999 record limit is not reached. |
---|
514 | </DL></DL> |
---|
515 | |
---|
516 | <h2>E. Coordinate Export & Import Features</h2></a> |
---|
517 | EXPGUI can be used to read coordinates in formats not |
---|
518 | supported in GSAS. Coordinates can also be exported in a variety of |
---|
519 | formats as well. |
---|
520 | |
---|
521 | <A name="import"> |
---|
522 | <h3>E.1 Coordinate Import Formats</h3> |
---|
523 | Coordinates can be imported using the |
---|
524 | <A HREF="expgui2.html#addphase">"Add Phase"</A>, |
---|
525 | <A HREF="expgui2.html#addatoms">"Add Atoms"</A> or |
---|
526 | <A HREF="expgui2.html#replacephase">"Replace Phase"</A> |
---|
527 | buttons on the <A HREF="expgui2.html">Phase Pane</A>, by choosing |
---|
528 | the format from the pull-down list to the right of the |
---|
529 | "Import atoms/phase from" button. The formats currently supported |
---|
530 | are listed below. |
---|
531 | Note that it is relatively easy to add new routines for |
---|
532 | importing coordinates; |
---|
533 | see the <A HREF="expgui_cfg.html#import"> |
---|
534 | customization information</A> for more details. |
---|
535 | <DL><DL> |
---|
536 | <DT><B>Crystallographic Information File (CIF)</B><DD> |
---|
537 | Coordinates can be read from single block or multiblock CIF files |
---|
538 | using DDL1. If more than one block containing coordinates is found in the |
---|
539 | file, a CIF browser is available to help select the desired block. |
---|
540 | <DT><B>PowderCell .CEL files</B><DD> |
---|
541 | This format is used by the DOS and Windows PowderCell program, a valuable |
---|
542 | program for the transformation and visualization of structures. |
---|
543 | <DT><B>GSAS .EXP files</B><DD> |
---|
544 | This routine is used to copy coordinates, unit cell parameters and space group |
---|
545 | information from other GSAS experiment (.EXP) files. |
---|
546 | </DL></DL> |
---|
547 | |
---|
548 | <A name="export"> |
---|
549 | <h3>E.2 Coordinate Export Formats</h3> |
---|
550 | Coordinates can be written using the Import/Export=>"Coord Export" menu. |
---|
551 | Note that contents of the submenu will depend on the |
---|
552 | number of export routines found in the EXPGUI directory when the menu |
---|
553 | is first created, thus it is relatively easy to add new routines for |
---|
554 | importing coordinates; |
---|
555 | see the <A HREF="expgui_cfg.html#export"> |
---|
556 | customization information</A> for more details. |
---|
557 | <DL><DL> |
---|
558 | <DT><B>Crystallographic Information File (CIF)</B><DD> |
---|
559 | Powder Diffraction Crystallographic Information files (pdCIFs) can |
---|
560 | be created by the GSAS2CIF program. The GSAS2CIF menu item |
---|
561 | invokes this program. |
---|
562 | <a name="ExportMSI"></a> |
---|
563 | <DT><B>MSI .xtl format</B><DD> |
---|
564 | This writes a .xtl file, as is used in Insight-II and |
---|
565 | Cerius2 (Molecular Simulations, Inc.). The routine |
---|
566 | attempts to convert GSAS space group names properly, as well as |
---|
567 | correctly label "Origin 2" setting, however, the naming conversion |
---|
568 | will not work for all valid GSAS space groups. Some effort may be needed |
---|
569 | by the user to get everything worked out correctly. |
---|
570 | <a name="ExportSPF"></a> |
---|
571 | <DT><B>PLATON .spf (Standard Parameter File) format</B><DD> |
---|
572 | This writes a .spf file, as used in |
---|
573 | <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cryst.chem.uu.nl/platon/">Platon</A> and |
---|
574 | <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cryst.chem.uu.nl/platon/">Pluton</A> by A. L. Spek. |
---|
575 | Some attempt is made to get space group naming right, but there is |
---|
576 | no assurance of quality here. |
---|
577 | <a name="ExportSHELX"></a> |
---|
578 | <DT><B>SHELX .ins format</B><DD> |
---|
579 | This writes coordinates and symmetry, as used in the SHELX-97 program, and |
---|
580 | perhaps as used some other programs, such as CrystalMaker. In addition to |
---|
581 | exporing the coordinates and displacement parameters, the fields that |
---|
582 | are generated are TITL, CELL, LATT, SYMM and SFAC. Note that the |
---|
583 | wavelength, included as the first number on the CELL "card", is set to the |
---|
584 | arbitrary value of 1/2. |
---|
585 | </DL></DL> |
---|
586 | |
---|
587 | <A name=tcltk> |
---|
588 | <H2> |
---|
589 | <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html"> |
---|
590 | Tcl/Tk</A></H2> |
---|
591 | The |
---|
592 | <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html"> |
---|
593 | Tcl/Tk program</A> is a platform-independent scripting language that is |
---|
594 | used to implement most of EXPGUI. This software is available for free |
---|
595 | and must be loaded in order to use EXPGUI. See the |
---|
596 | installation notes for |
---|
597 | <A HREF="expgui_Win_readme.html">Windows</A>, |
---|
598 | and for |
---|
599 | <A HREF="expgui_Unix_readme.html">UNIX</A> for information on how to do this. |
---|
600 | While learning Tcl/Tk is a great thing to do, it is not a requirement |
---|
601 | for using or installing EXPGUI. |
---|
602 | |
---|
603 | <A name=winexec> |
---|
604 | <H3> |
---|
605 | WINEXEC</H3> |
---|
606 | <UL> |
---|
607 | The WINEXEC package is needed under Windows-95 and its offspring |
---|
608 | (-98 and -ME). See the <A HREF="expgui_Win_readme.html">Windows installation |
---|
609 | notes</A> for more details. |
---|
610 | </UL> |
---|
611 | |
---|
612 | <A name=blt> |
---|
613 | <H3> |
---|
614 | BLT Package</H3> |
---|
615 | <UL> |
---|
616 | The BLT graphics package is used by the WIDPLT, LIVEPLOT, BKGEDIT & |
---|
617 | EXCLEDT routines. If the |
---|
618 | package can not be found by these routines, an error message, |
---|
619 | "Error -- Unable to load the BLT package", will be displayed. It is also |
---|
620 | possible for the package to be installed, but not configured properly. |
---|
621 | If this is the case, a message, |
---|
622 | "BLT Setup Error: could not access a Blt_ routine...", will be displayed. |
---|
623 | This is most common in UNIX and is discussed further in the |
---|
624 | <A HREF="expgui_Unix_readme.html">UNIX installation notes</A>. Also see |
---|
625 | <A HREF="http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html"> |
---|
626 | http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html |
---|
627 | </A> for more information on installation of BLT. |
---|
628 | </UL> |
---|
629 | |
---|
630 | <A name=La> |
---|
631 | <H3> |
---|
632 | La (Linear Algebra) Package</H3> |
---|
633 | <UL> |
---|
634 | The |
---|
635 | <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=www.hume.com">Hume |
---|
636 | </A> |
---|
637 | Linear Algebra Tcl Package, |
---|
638 | <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=www.hume.com"> |
---|
639 | La</A>, |
---|
640 | is used by the BKGEDIT |
---|
641 | routine to perform least-squares fitting. If the |
---|
642 | package can not be found, the routine cannot run. |
---|
643 | If the package cannot be found, a message, |
---|
644 | "Error -- Unable to load the La package" will be displayed. This |
---|
645 | should not happen, since the package is included with the EXPGUI files. |
---|
646 | So if get this error you probably have an incomplete installation. |
---|
647 | Note that the La package requires Tcl/Tk version 8.1 or higher, so that if |
---|
648 | you are using an older version of Tcl/Tk, you will need to upgrade. |
---|
649 | See the installation instructions for |
---|
650 | <A HREF="expgui_Win_readme.html">Windows</A>, |
---|
651 | and for |
---|
652 | <A HREF="expgui_Unix_readme.html">UNIX</A> for more information on Tcl/Tk. |
---|
653 | </UL> |
---|
654 | |
---|
655 | <H2> |
---|
656 | Acknowledgments</H2> |
---|
657 | Praise to Larson and |
---|
658 | <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://lansce.lanl.gov/lujan/staff12/vondreele.htm"> |
---|
659 | Von Dreele</A> for GSAS, <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.scriptics.com/">Ousterhout</A> |
---|
660 | for Tcl/Tk, |
---|
661 | Przemek Klosowski</A> |
---|
662 | for convincing me to learn Tcl/Tk |
---|
663 | and Jonathan Wasserman for helping get this project started. |
---|
664 | Thanks also to |
---|
665 | Pamela Whitfield of the NRC (Canada) for writing large |
---|
666 | sections of the |
---|
667 | <A Href="expgui7.html">Preferential Orientation Pane</A> |
---|
668 | and the |
---|
669 | <A Href="expgui6.html">Profile Constraints pane</A> |
---|
670 | code. |
---|
671 | <P> |
---|
672 | <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/gsas.html"> |
---|
673 | GSAS</A> |
---|
674 | 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"> |
---|
675 | Robert B. Von Dreele</A>, MS-H805, |
---|
676 | Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions |
---|
677 | or kudos concerning GSAS should be sent to Robert B. Von Dreele at |
---|
678 | <A HREF="MAILTO:vondreele@lanl.gov">vondreele@lanl.gov</A> |
---|
679 | EXPGUI is written by Brian H. Toby of the NIST Center for Neutron Research, |
---|
680 | <A HREF="MAILTO:Brian.Toby@NIST.GOV">Brian.Toby@NIST.GOV</A> |
---|
681 | with help from Jonathan Wasserman. |
---|
682 | |
---|
683 | <P><hr><blockquote> |
---|
684 | <P>GSAS is Copyright, 1984-2000, by |
---|
685 | the Regents of the University of California. |
---|
686 | The GSAS software was produced under a U.S. Government contract (W-7405-ENG-36) |
---|
687 | by the Los Alamos National Laboratory, which is operated by the University |
---|
688 | of California for the U.S. Department of Energy. The U.S. Government is |
---|
689 | licensed to use, reproduce, and distribute this software. Permission is |
---|
690 | granted to the public to copy and use this software without charge, provided |
---|
691 | that this notice and any statement of authorship are reproduced on all |
---|
692 | copies. Neither the Government nor the University makes any warranty, express |
---|
693 | or implied, or assumes any liability or responsibility for the use of this |
---|
694 | software. |
---|
695 | |
---|
696 | <P>The author of EXPGUI is a U.S. Government employee which means that |
---|
697 | EXPGUI is not subject to copyright. Have fun with it. Modify it. Please write |
---|
698 | new sections and make them available to the rest of the world. |
---|
699 | |
---|
700 | <p>Neither the U.S. Government nor any author makes any warranty, |
---|
701 | expressed or implied, or assumes any liability or responsibility |
---|
702 | for the use of this information or the software described |
---|
703 | here. Brand names cited herein are used for |
---|
704 | identification purposes and do not constitute an endorsement by NIST. |
---|
705 | </blockquote> |
---|
706 | |
---|
707 | <p><hr><a href="http://www.ncnr.nist.gov/staff/toby/">Brian Toby</a> (<a href="mailto:brian.toby@nist.gov">Brian.Toby@NIST.GOV</a>) |
---|
708 | <br> |
---|
709 | $Revision: 523 $ $Date: 2009-12-04 23:07:35 +0000 (Fri, 04 Dec 2009) $ |
---|
710 | </blockquote> |
---|
711 | </body> |
---|
712 | </html> |
---|