Link to NIST Center for Neutron Research home page Link to National Institute of Standards & Technology home page
Link to Tcl/Tk information

GSAS Nickel example using EXPGUI (Intro)


The following pages show how to use EXPGUI to perform the same tutorial refinement for Nickel powder, presented in the GSAS manual (pages 18-63 in the 9/1/94 edition) but using EXPGUI instead of EXPEDT, as done in the manual.


while it is possible to have your working GSAS files (for example the .EXP file) in a separate directory from the raw data file(s), I discourage this practice as it then becomes quite difficult to later copy or move the .EXP file from one directory or computer to another. For this reason, I suggest copying the data (.RAW) files into the directory where you will create the Experiment (.EXP) file.

For this example, I am working in directory /home/toby/work, and the data files and paramters files are in directory /home/toby/gsas/example, so I copy the Nickel data using UNIX command:

       cp /home/toby/gsas/example/nickel.raw   /home/toby/work/
       cp /home/toby/gsas/example/inst_tof.prm /home/toby/work/
For Windows I would likely copy the files by dragging their icons between the appropriate folders.

Tutorial Outline

  1. Create a GSAS Experiment File
  2. Add a phase to the Experiment
  3. Add data (histograms) to the Experiment
  4. Change a profile parameter
  5. Run POWPREF
  6. Plot data using POWPLOT or LIVEPLOT
  7. Setup for Least-Squares Refinement
  8. Run GENLES
  9. Additional Work

Sample files

Sample .EXP files have been saved at points through the tutorial. These are indicated in the tutorial as ".EXP shapshots". These files have been reformatted for DOS/Windows, but EXPGUI users will have no trouble using them on either platform. Other sample files:

Brian Toby (Brian.Toby@NIST.GOV)
$Revision: 156 $ $Date: 2009-12-04 23:01:20 +0000 (Fri, 04 Dec 2009) $