Sequential GSAS
Sequential GSAS (using SEQGSAS & SEQPLOT) canbe used to run a sequence of Rietveld refinements from a sequence of powder data sets using GSAS/EXPGUI. For example, you could use this to obtain refined lattice parameters from data collected while varying the temperature of the sample. One must first set up an initial refinement manually, but related datasets can then be refine automatically based on the values and parameters you select in the initial model.
To facilitate extraction of the results the parameter name, value & esd list file print option (option "V" in L-S print option menu) should be set. SeqGSAS will copy the current EXP file changing the raw data file names for all powder histograms to the next ones in their series to a new EXP file named in numerical sequence. Two sets of POWPREF & GENLES are run by SeqGSAS to refine to this data set. It then repeats this process for the next data set; it stops when it has exhausted the sequence of raw file names.
SEQGSAS & SEQPLOT were added to GSAS by Bob Von Dreele in ~ 2005. It is not documented in the GSAS manual, but limited info lurks deep in the Rietveld mailing list archive.
Hints:
- Program is command line only, but can be accessed from EXPGUI, look in the ______ pull down menu.
- Data sets must be in a proper GSAS format.
- Data file names must be sequential. You will likely need to rename your files before starting. (for example, this type of batch conversion can be simply done using Automater on a Mac)
- File names must be in numerical sequence with some leading characters
example: file0.fxye, file1.fxye, file2.fxye, ... file11.fxye, file12.fxye... file100.fxye
- Give your initial refinement a name like "refinement.exe", and load the histogram named "file0.fxye"
- Once your refinement is 'complete'; then turn on (EXPGUI tick boxes) ONLY the parameter flag you wish to sequential refine from the subsequent data sets (e.g. lattice, LX, and atom XYZ etc...)
- Also, turn on the flags ______________ to # 256 ???????????
- Launch SEQGSAS, follow instructions
- SEQPLOT will read 1000 PVE files; limited to 200 parameters.
- Note there is an option to refine "live" data....
- makes .pve files...
- SEQPLOT, plot or export to csv file...
1. SeqPLOT has been enhanced. It now can accept alternative values for the X-axis (i.e. temperatures) and a new X-axis label. It will output an ascii file with a table of all parameters (limit 200) found with esds for all the runs processed suitable for input to some other graphics program (e.g. Excel). The plots now show error bars (1 sigma) for all values.
1. Enhancements of SEQGSAS & SEQPLOT: SEQGSAS now will read raw data files until it runs out and then ask if "there are more". This is to allow SEQGSAS to run in a live data acquisition pipeline where one does Rietveld refinement on data as it is produced in an experiment varying temperature. SEQPLOT now has an "update" mode where new PVE files are read on demand ("U" option). GENLES has been modified so that profile R values (Rp & Rpw) are put in the PVE file and the lattice parameters (a, b, c, etc.) with esds are also put in this file when varied. ASCII table output tweaked a bit to give 6 sig(?) figures; used to be 4. Raw data file names still must be in numerical sequence but no longer require any leading characters (although this is a good idea anyway) before the number (e.g. 25.dat, 26.dat, etc. is OK). Please note that SEQGSAS does not work for raw data sets that are not in "proper" GSAS format. Use CNVFILE to fix them if needed.