Changeset 919

Dec 4, 2009 5:14:19 PM (11 years ago)

# on 2008/04/15 17:31:53, toby did:
doc new Prompt after GSAS run option
doc macro capability

1 edited


  • trunk/doc/expguic.html

    • Property rcs:date changed from 2003/05/22 22:05:22 to 2008/04/15 17:31:53
    • Property rcs:lines changed from +1 -1 to +86 -24
    • Property rcs:rev changed from 1.16 to 1.17
    r708 r919  
    3939<a name="1"></a>
    4040<H3>C.1 File Menu</H3>
    41 <DL><DL>
    4242The options on the File menu as is the custom contains the commands
    4343for reading and writing experiment files, as well as starting
    6161<img SRC="m1.gif" BORDER=3 alt="EXPGUI Screen snapshot">
    62 </DL></DL>
    6464<a name="2"></a>
    6565<h3>C.2 Options Menu</h3>
    66 <DL><DL>
    6767This menu contains options that determine how EXPGUI runs.
    107107who find this behavior annoying.
     109<a name="execprompt"></a>
     110<DT>Prompt after GSAS run<DD>
     111<IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!">
     112By default, GSAS programs are run in a separate window
     113and after the program completes, the window remains open until enter is
     114pressed in the window. Turning the "Prompt after GSAS run" option off, causes
     115the window to be closed immediately after the program completes, saving
     116some effort but obliterating any error messages or other evidence of problems.
    109118<a name="AutostartGRWND"></a>
    110119<DT>Autostart GRWND
    111 <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!">
    113121This option is available on Windows-95, -98 and -ME to deal with a operating
    126134        occupancy, or by x, y or z coordinate
    128 <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!">
    129136Clicking on the heading above the atoms list cycles with the left
    130137mouse button cycles through the atom sort modes. Clicking with
    157164<a name="setfont"></a>
    158165<DT>Set Screen Font
    159 <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!">
    161167This menu changes the fonts used in most sections of EXPGUI.
    190196<img SRC="m2.gif"  BORDER=3 alt="EXPGUI Screen snapshot">
    191 </DL></DL>
    193199<a name="3"></a>
    194200<h3>C.3 Powder Menu</h3>
    195 <DL><DL>
    196202This menu contains links to GSAS programs used for powder diffraction
    205211<DT>tofnorm<DD>Normalize a TOF spectrum
    206212<DT><a HREF="liveplot.html#bkgedit">bkgedit</a>
    207 <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!">
    208213<DD>Invokes the <a HREF="liveplot.html#bkgedit">BKGEDIT</a> program
    209214to fit a background function to a set of fixed background points.
    210215<DT><a HREF="excledt.html">excledt</a>
    211 <IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!">
    212216<DD>Invokes the <a HREF="excledt.html">EXCLEDT</a> program
    213217to set the upper and lower limits for a histogram, as well as
    216220<img SRC="m3.gif"  BORDER=3 alt="EXPGUI Screen snapshot">
    217 </DL></DL>
    219223<a name="4"></a>
    220224<h3>C.4 Single Crystal Menu</h3>
    221 <DL><DL>
    222226This menu contains links to GSAS programs used for
    223227single-rystal diffraction analysis.
    231235<img SRC="m4.gif"  BORDER=3 alt="EXPGUI Screen snapshot">
    232 </DL></DL>
    234238<a name="5"></a>
    235239<h3>C.5 Graphics Menu</h3>
    236 <DL><DL>
    237241This menu contains links to several GSAS and
    238242two non-GSAS (<a HREF="liveplot.html#liveplot">LIVEPLOT</a>,
    257261<img SRC="m5.gif"  BORDER=3 alt="EXPGUI Screen snapshot">
    258 </DL></DL>
    260264<a name="6"></a>
    261265<h3>C.6 Results Menu</h3>
    262 <DL><DL>
    263267This menu contains links to several GSAS and
    264268one non-GSAS (lstview)
    280284<img SRC="m6.gif"  BORDER=3 alt="EXPGUI Screen snapshot">
    281 </DL></DL>
    283287<a name="7"></a>
    284288<h3>C.7 Calculations Menu</h3>
    285 <DL><DL>
    286290This menu contains programs for useful crystallographic computations.
    294298<img SRC="m7.gif" BORDER=3 alt="EXPGUI Screen snapshot">
    295 </DL></DL>
    297301<a name="8"></a>
    298302<h3>C.8 Import/Export Menu</h3>
    299 <DL><DL>
    300304This menu contains utilities for importing information into GSAS and
    322326<img SRC="m8.gif"  BORDER=3 alt="EXPGUI Screen snapshot">
    323 </DL></DL>
     329<a name="9"></a>
     330<h3>C.9 Macro Menu
     331<IMG SRC="new.gif" HEIGHT=13 WIDTH=36 alt="New!">
     334The macro capability allows actions performed in EXPGUI to be captured into a
     335file as a series of Tcl command.
     336It is then possible to repeat the actions in a macro repeatedly
     337by replaying the macro. Note that macro files can be edited and
     338Tcl/Tk commands can be added to the macros to expand capabilities.
     339As an example, this code
     341runAddHist Data.raw 11BM-12D.INS 1 1 T 59.9995
     342runAddHist Data.raw 11BM-12D.INS 2 2 T 57.9995
     343runAddHist Data.raw 11BM-12D.INS 3 3 T 55.9995
     344runAddHist Data.raw 11BM-12D.INS 4 4 T 53.9995
     346can be modified to prompt for a file name and then use it in a macro:
     348set DataFile [tk_getOpenFile -defaultextension .raw]
     349runAddHist $DataFile 11BM-12D.INS 1 1 T 59.9995
     350runAddHist $DataFile 11BM-12D.INS 2 2 T 57.9995
     351runAddHist $DataFile 11BM-12D.INS 3 3 T 55.9995
     352runAddHist $DataFile 11BM-12D.INS 4 4 T 53.9995
     355<DT>Record EXPGUI macro<DD>
     356When this option is turned on, subsequent actions are recorded into the
     357selected macro file.
     358<DT>Add comment to macro<DD>
     359If this option is selected, a window is opened where a string can be typed.
     360This information is then entered at the current point within the macro file
     361as a comment.
     362<DT>Replay macro line-at-a-time<DD>
     363When this option is used, a macro file is selected by the user; the
     364contents of the macro file is displayed, and button can be pressed to execute
     365each command in the macro file. By clicking on a line in a macro file, that line
     366will be the next to be run, so that sections of the file can be skipped over
     367or repeated. The macro can also be edited within the file viewer window.
     368<DT>Replay macro all at once<DD>
     369When this option is used, a macro file is selected by the user, and then
     370all commands in the macro file are executed. A status window is opened that
     371shows the number of refinement cycles, Chi<sup>2</sup> and the last sum of
     372shifts and also allows macros to be aborted. Note that any GSAS run in progress
     373will run to completion before the Abort is invoked.
     374Note that <A href="#Autoupdate">Autoload EXP</A> is temporarily set to
     375on and <A href="#execprompt">Prompt after GSAS run</A>
     376is temporarily set to off, when this command is invoked, so that the macro
     377runs without need for prompts.
     379<DT>Show GSAS output in window<DD>
     380When this option is selected, GSAS programs are run in a separate window
     381that is created for each program run -- even during macro execution.
     382When this option is deselected, output from GSAS programs is placed in a
     383separate file
     384(<I>XXXXXXXX</I>_mac.LST where <I>XXXXXXXX</I> is the experiment name)
     385and LSTVIEW is opened to view the output from that .LST file.
    333 <P><font size=-1><A HREF=" page <?=$PHP_SELF?>">Comments, corrections or questions:</A></font><BR>
    334396<font size=-1><? lastmod(); ?> </font>
Note: See TracChangeset for help on using the changeset viewer.