Changeset 148
- Timestamp:
- Dec 4, 2009 5:01:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/expgui.html
- Property rcs:date changed from 1999/10/11 20:27:39 to 2000/05/18 15:37:38
- Property rcs:lines changed from +9 -3 to +157 -57
- Property rcs:rev changed from 1.9 to 1.10
r115 r148 1 1 <html> 2 2 <head> 3 <title>EXPGUI</title> 3 <META NAME="Author" CONTENT="Brian H. Toby"> 4 <title>EXPGUI</title> 4 5 </head> 5 <body> 6 7 <center> 8 <h1> 9 Using EXPGUI</h1></center> 10 11 <h2>Introduction</h2> 12 EXPGUI allows two types of actions: 13 it allows the different 14 GSAS programs such as EXPEDT, GENLES, FOURIER,... 15 to be run, 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 the different 35 GSAS</A> 36 programs such as EXPEDT, GENLES, FOURIER,... 37 can be run from a menu or by pressing buttons, 16 38 and it can be used to directly modify the GSAS 17 39 experiment file without using EXPEDT. 18 19 <P> 20 Note that pictures on this page are somewhat out-of-date with respect to the 21 current software version so they may differ from what is 22 described in the text. 40 This document describes the functions in EXPGUI. 41 Note that pictures on this page are not updated as frequently as the 42 text. 23 43 24 44 <p> 25 Programs are invoked either through use of the menu bar45 GSAS programs are invoked either through use of the menu bar 26 46 <center><B> 27 47 <br>The menu bar. … … 30 50 or by "pressing" a button on the button bar. The button bar 31 51 simply provides an easy way to access commonly used 32 actions on the menu bar. Users can configure the menu 33 bar to include their own preferred actions and, with 52 actions on the menu bar. Users can 53 <A HREF="expgui_cfg.html"> 54 configure the menu bar</A> to include their own preferred actions and, with 34 55 some knowledge of the program and Tcl/Tk, 35 56 add their own commands to the menu bar or button bar. … … 42 63 <P> 43 64 Different sections of the .EXP file can be edited by selecting different 44 panels or pages from the tabbed list. These tabs will have slightly different 45 appearance depending on the packages 46 available with your local version of Tcl/Tk. 65 panels or pages from the tabbed list. 47 66 <center><B> 48 <br>The panel tabs using the Tix package.67 <br>The notebook panel tabs. 49 68 <br><img SRC="panebar1.gif" BORDER=3 > 50 69 </center></B> 51 <center><B>52 <br>The panel tabs without the Tix package.53 <br><img SRC="panebar2.gif" BORDER=3 >54 </center></B>55 If the Tix package is loaded on your machine, it will be56 used, but if it is not, EXPGUI will run fine without it.57 70 <P> 58 71 This documentation will describe the different actions that … … 171 184 </DL></DL> 172 185 186 <h2>6. Constraints panel</h2> 187 <DL><DL> 188 GSAS offers two types of restraints that can be included in a model. 189 So called "soft constraints" or "restraints" penalize the fit if 190 aspects of a model (for example, bond lengths) differ from selected values. 191 So called "hard constraints" reduce the actual number of 192 parameters in a model, 193 by grouping parameters so that a single shift (possibly scaled) is 194 applied to each parameter in the group. 195 The constraints panel is used to set these "hard constraints." 196 At this time the only constraints that can be set in EXPGUI are on atomic 197 parameters (others can be set in EXPEDT). 198 <P> 199 Note that these constraints are only applied to shifts, so that if two atoms 200 are constrained so that the shift on their occupancy is the same, but 201 the initial occupancies differ, the difference will be maintained as the 202 values refine. 203 <P> 204 <H4>Atom Constraints</H3> 205 The atom constraints editing page appears below. Note that constraints can 206 be listed sorted by constraint number, phase number, lowest atom number or 207 variable by clicking on the buttons at the top of the page. 208 <P> 209 To delete one or more constraints, click on the appropriate checkbuttons in the <B>Delete</B> column and the press the Delete button, below. 210 <img SRC="mc.gif" align=TEXTTOP> 211 Due to the way GSAS implements these constraints, a parameter can be included 212 in only one constraint. Should one or more parameters be constrained twice, 213 an error message is shown as shown below. 214 Note that the constraint number is displayed as red, for constraints that 215 have conflicts in the constraints editing page (see above.) 216 <img SRC="mcerr.gif" align=TEXTTOP> 217 <P> 218 <img SRC="mcedit.gif" align=LEFT> 219 <img SRC="mcvar.gif" align=RIGHT> 220 When the edit button for a constraint is pressed, the constraint is 221 opened for editing. Controls are available to select the phase, variable, 222 multiplier and atom(s). Note that for atom selection, use of the control key 223 and the left mouse button allow individual atoms to be selected or deselected. 224 Shift and the left mouse button allow ranges of atoms to be selected and the 225 right mouse button selects all atoms 226 <A href="#mouseactions">(see Mouse Actions)</A>. 227 <P> 228 Note that it is inappropriate 229 to constrain different types of parameters together, for example X and Uiso. 230 The left-most variable button is the "master" which 231 determines what variable are allowed in the 232 other variable buttons. 233 <P> 234 When the "New Constraint" button is pressed, a blank constraint editing 235 window is opened. Note that any variable to the right may then be selected, 236 including two special codes, Uxx and XYZU. XYZU creates four constraints, 237 requiring the shifts on x, y, z and Uiso to be the same for all the selected 238 atoms. Uxx does the same for the six anisotropic displacement parameters. 239 These special codes are valuable for atoms that share a site. 240 <P> 241 Note that only 100 parameters may be included in a constraint, 242 with one exception. When shifts for Uiso for all atoms in a phase 243 are constrained, this counts as a single parameter. If more than 100 244 parameters are entered for a constraint, an error message is shown. 245 Up to 2000 atomic constraints may be entered. 246 EXPGUI does not warn if you exceed this limit. 247 </DL></DL> 248 173 249 <a name="multiplehistogram"> 174 <h2> 6. Multiple Histogram Selection</h2></a>250 <h2>7. Multiple Histogram Selection</h2></a> 175 251 <DL><DL> 176 252 This mode allows parameters to be changed for groups of … … 203 279 <a name="mouseactions"> 204 280 </DL></DL> 205 <h2> 7. Mouse Actions</h2></a>281 <h2>8. Mouse Actions</h2></a> 206 282 <DL><DL> 207 283 A range of atoms or (in multiple selection mode) histograms may be … … 213 289 </DL></DL> 214 290 215 <h2> 8. Menus</h2>291 <h2>9. Menus</h2> 216 292 A description of the EXPGUI menus follows along with a very 217 293 brief description of the function of each menu option. 218 294 Note that an option may appear under more than one menu. 219 <H3> 8.1 File Menu</H3>295 <H3>9.1 File Menu</H3> 220 296 <DL><DL> 221 297 The options on the File menu as is the custom contains the commands … … 224 300 <DL> 225 301 <DT>expnam<DD> 226 Select an existing GSAS experiment to be used or create a new 302 Select an existing GSAS experiment to be used. If a name is entered 303 that does not exists, it is possible to create a new 227 304 experiment file from scratch. 228 <DT>Save<DD>Saves modifications to the current experiment file to disk 305 <DT>Save<DD>Saves modifications to the current experiment file to disk (shortcut Alt-S). 229 306 <DT>Save As<DD>Saves modifications to the current experiment file to disk 230 307 under a new file name 231 308 <DT>Reread .EXP file<DD>Reread the last saved version of the experiment file from disk. 309 <DT>EraseHistory<DD>Deletes old history records to speed reading of the .EXP file. 232 310 <DT>convert<DD>Convert a standard ASCII file to the direct access format used by GSAS (and for UNIX, the reverse) 233 <DT>exit<DD>Exit EXPGUI 311 <DT>exit<DD>Exit EXPGUI (shortcut Alt-X or ^C) 234 312 </DL> 235 313 <img SRC="m1.gif" BORDER=3 > 236 314 </DL></DL> 237 315 238 <h3> 8.2 Options Menu</h3>316 <h3>9.2 Options Menu</h3> 239 317 <DL><DL> 240 318 This menu contains options that determine how EXPGUI runs. … … 244 322 [expnam].EXP.xxx.gz where xxx = 000, 001 (UNIX) 245 323 or in a file named [expnam].ZIP or [expnam].xxx (Windows) 324 <DT>Use DISAGL Window<DD>When this option is set, results from DISAGL are 325 shown in a separate window. When it is not set, the results are 326 written in the .LST file. 246 327 <DT>Sort atoms by<DD> Determines the order that atoms are displayed on the "Phase" page 247 328 Atoms may be displayed sorted by atom number, atom type, … … 273 354 file when GENLES, POWPREF,... are run (this is so that one can change 274 355 the experiment file and rerun with the current input). If this option is 275 set, the new file is automatically read without a prompt. 356 set, the new file is automatically read without a prompt. 357 This option is not available in Windows. 276 358 277 359 <DT>SaveOptions<DD>Save the current values for "Override backspace", … … 284 366 </DL></DL> 285 367 286 <h3> 8.3 Powder Menu</h3>368 <h3>9.3 Powder Menu</h3> 287 369 <DL><DL> 288 370 This menu contains links to GSAS programs used for powder diffraction 289 371 analysis. 290 372 <DL> 291 <DT>expedt<DD>Run GSAS experiment editor 292 <DT>powpref<DD>Powder data preparation 293 <DT>genles<DD>Run GSAS experiment editor 373 <DT>expedt<DD>Run GSAS experiment editor (shortcut Alt-E) 374 <DT>powpref<DD>Powder data preparation (shortcut Alt-P) 375 <DT>genles<DD>Run GSAS experiment editor (shortcut Alt-G) 294 376 <DT>powplot<DD>Display powder patterns 295 377 <DT>rawplot<DD>Plot powder data … … 300 382 </DL></DL> 301 383 302 <h3> 8.4 Single Crystal Menu</h3>384 <h3>9.4 Single Crystal Menu</h3> 303 385 <DL><DL> 304 386 This menu contains links to GSAS programs used for 305 387 single-rystal diffraction analysis. 306 388 <DL> 307 <DT>expedt<DD>Run GSAS experiment editor 308 <DT> powpref<DD>Powder data preparation389 <DT>expedt<DD>Run GSAS experiment editor (shortcut Alt-E) 390 <DT>genles<DD>Run GSAS experiment editor (shortcut Alt-G) 309 391 <DT>scabs<DD>Single crystal absorption 310 392 <DT>scmerge<DD>Sort and merge single crystal data … … 314 396 </DL></DL> 315 397 316 <h3> 8.5 Graphics Menu</h3>398 <h3>9.5 Graphics Menu</h3> 317 399 <DL><DL> 318 400 This menu contains links to several GSAS and … … 336 418 </DL></DL> 337 419 338 <h3> 8.6 Results Menu</h3>420 <h3>9.6 Results Menu</h3> 339 421 <DL><DL> 340 422 This menu contains links to several GSAS and … … 356 438 </DL></DL> 357 439 358 <h3> 8.7 Calculations Menu</h3>440 <h3>9.7 Calculations Menu</h3> 359 441 <DL><DL> 360 442 This menu contains programs for useful crystallographic computations. … … 369 451 </DL></DL> 370 452 371 <h3> 8.8 Import/Export Menu</h3>453 <h3>9.8 Import/Export Menu</h3> 372 454 <DL><DL> 373 455 This menu contains utilities for importing information into GSAS and … … 389 471 </DL></DL> 390 472 391 <h2> 9. EXPGUI Utility Programs</h2></a>473 <h2>10. EXPGUI Utility Programs</h2></a> 392 474 <DL><DL> 393 475 <P><B>LSTVIEW</B> … … 403 485 refinements. The plot is updated as the refinement progresses. The mouse can 404 486 be used to zoom in on sections of the plot. 487 Liveplot uses the <A href="#blt">BLT</A> graphics package. 405 488 <CENTER><IMG SRC="liveplot.gif"></CENTER> 406 489 <IMG SRC="new.gif" HEIGHT=13 WIDTH=36> … … 417 500 reflection tickmarks can be displayed by holding the shift key while pressing the left mouse button. 418 501 See the installation instructions for installing TCLDUMP. 419 420 502 <P><B>WIDPLT</B> 421 503 422 <P>widplt can be used to plot the actual peak widths generated by the profile 423 parameters used in GSAS. It is possible to define reference curves 424 that are loaded automatically. 504 <P>WIDPLT can be used to plot the actual peak widths generated by the profile 505 parameters used in GSAS. 506 It is possible to define reference curves 507 that are loaded automatically. 508 WIDPLT uses the <A href="#blt">BLT</A> graphics package. 425 509 <CENTER><IMG SRC="widplt.gif"></CENTER> 426 510 <BR> 427 511 </DL></DL> 512 513 <A name=blt> 514 <H2> 515 BLT</H2> 516 The BLT graphics package is used by the WIDPLT and LIVEPLOT routines. If the 517 package can not be loaded these routines, an error message, 518 "Error -- Unable to load the BLT package", will be displayed. A frequent 519 problem is the package is installed, but not configured so that common 520 support routines are loaded automatically. If this is the case, 521 a message, "BLT Setup Error: could not access a Blt_ routine...", 522 will be displayed. 523 Please see 524 <A HREF="http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html"> 525 http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html 526 </A> for more information on installation of BLT. 428 527 429 528 <H2> … … 437 536 and Jonathan Wasserman for starting this project. 438 537 439 <hr> 440 GSAS 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"> 538 <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/gsas.html"> 539 GSAS</A> 540 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"> 441 541 Robert B. Von Dreele</A>, MS-H805, 442 542 Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions
Note: See TracChangeset
for help on using the changeset viewer.