source: branches/sandbox/gsasmenu.tcl @ 1157

Last change on this file since 1157 was 1157, checked in by toby, 12 years ago

liveplot: export to gnuplot; plot I/sigma(I); change title & size of labels; improve tick location; make autoticks standard; expgui: new menu item to create InstParm? file; InstEdit?: bug fixes; remove fprime since not in GSAS anymore; fix 2Theta max bug for CW instruments; updates to doc files

  • Property svn:keywords set to Author Date Revision Id
File size: 9.2 KB
Line 
1# $Id: gsasmenu.tcl 1157 2011-07-26 17:47:57Z toby $
2# $Revision: 1157 $ $Date: 2011-07-26 17:47:57 +0000 (Tue, 26 Jul 2011) $
3# menu information for GSAS programs
4
5# menu items to be created (N.B. File, Options & Help already exist)
6set expgui(menunames) {Powder Xtal Graphs Results Calc Macro Import/Export}
7
8# contents of each menu
9array set expgui_menulist {
10    file {
11        revert
12        EraseHistory
13        convert
14        dlst
15    }
16    option {
17        {liveplot_options}
18    }
19    powder {
20        expedt
21        powpref
22        genles
23        powplot
24        rawplot
25        fitspec
26        bkgedit
27        excledt
28        seqgsas
29        mustrplot
30        instedit
31    }
32    xtal {
33        expedt
34        genles
35        cad4rd
36        p3r3data
37        sxtldata
38        scabs
39        scmerge
40    }
41    graphs {
42        forplot
43        polfplot
44        powplot
45        ortep
46        rawplot
47        fourier
48        forsrh
49        gsas2map
50        liveplot
51        vrstplot
52        widplt 
53        absplt
54        seqplot
55        mustrplot
56    }
57    calc {
58        cllchg
59        composition
60        hklgen
61        rducll
62        spcgroup
63        seqgsas
64        seqplot
65        unimol
66    }
67    import/export {
68        hklsort
69        pubtable
70        convert
71        cad4rd
72        dbwscnv
73        x17bcnv
74        p3r3data
75        sxtldata
76        gsas2pdb
77        ref2asc
78        ref2bin
79        gsas2map
80    }
81    results {
82        bijcalc
83        disagl
84        disaglviewer
85        reflist
86        geometry
87        hstdmp
88        istats
89        rcalc
90        composition
91        lstview
92        ramafit
93        seqplot
94    }
95}
96
97array set expgui_cmdlist {
98
99    Save {- {
100        Saves modifications to the current experiment file to disk}
101    }
102
103    {Save As} {- {
104        Saves modifications to the current experiment file to disk
105        under a new file name }
106    }
107
108    {Reread .EXP file} {- {
109        Reread the last saved version of the experiment file from disk.
110
111        This causes any unsaved changes to be lost.}
112    }
113
114    {Sort atoms by}  {- {
115        Determines the order that atoms are displayed on the "Phase" page
116        Atoms may be displayed sorted by atom number, atom type, 
117        or by x, y or z}
118    }
119
120    {Sort histograms by}  {- {
121        Determines the order that histograms are displayed on the
122        Histogram, Scaling and Profile pages
123
124        Histograms may be sorted by histogram number, histogram type, 
125        original bank number, or diffraction angle/wavelength}
126    }
127
128    {Multiple hist. selection}  {- {
129        When this mode is off, it is possible to modify parameters
130        and refinement flags for only a single histogram. For other settings,
131        it is possible to modify parameters and flags for groups of
132        histograms (see help for Mouse actions).
133
134        It does not make sense, however, to globally modify
135        instrument-related parameters and flags for histograms of different
136        types (e.g. TOF, CW Neutron,...). So if all histogram types can
137        be selected, the Histogram and Profile pages are disabled. If the
138        multiple histogram selection is set to TOF, CW Neutron,...
139        it is possible to modify Histogram and Profile parameters for
140        groups of similar type histograms.
141
142        Note that profile terms may also be grouped together when more than
143        one phase has the same profile function, or may not be grouped
144        together, depending on the "Group Phases Together" option.}
145    }
146
147    {Mouse actions}  {- {
148        A range of atoms or (in multiple selection mode) histograms may be
149        selected by dragging (holding down) the left mouse button. It is also
150        possible to select a range by using the Shift key with the
151        left mouse button. To select or deselect individual entries, use the
152        Control key with the left mouse button. The right mouse button selects
153        all entries.}
154   }
155
156    expnam {readnewexp {
157        Select an existing or new GSAS experiment to be used}
158    }
159
160    revert {{readnewexp archive} {
161        Select an old version of the current GSAS file}
162    }
163
164    {archive EXP} {- {
165        Toggles archiving of .EXP files. When on, files are
166        saved prior to each save or run of expedt in a file named
167
168        <expnam>.Oxx where xx = 01, 02... FF}
169    }
170
171    showhelp    {showhelp {
172        Show the help information for commands and actions}
173    }
174
175    powpref     {{runGSASwEXP $cmd} {
176        Powder data preparation}   
177        {-underline 0}
178    }
179
180    bijcalc     {{runGSASwEXP $cmd} {
181        Thermal parameter analysis} 
182    }
183
184    powplot     {{runGSASwEXP $cmd 1} {
185        Display powder patterns}
186    }
187
188    cllchg      {{runGSASwEXP $cmd} {
189        Transform unit cell}
190    }
191
192    expedt      {{runGSASwEXP $cmd} {
193        Run GSAS experiment editor}
194        {-underline 0}
195    }
196
197    genles      {{runGSASwEXP $cmd} {
198        Run General Least Squares program}
199        {-underline 0}
200    }
201
202    disagl      {rundisagl {
203        Distance/angle calculations}
204    }
205
206    disaglviewer {Geo_Viewer {
207        Show distances and angles in a nice format}
208    }
209
210    forplot     {{runGSASwEXP $cmd} {
211        Display Fourier maps (set Fourier options in EXPEDT
212        and then compute with FOURIER)}
213    }
214
215    hstdmp      {{runGSASwEXP $cmd} {
216        List powder histogram data}
217    }
218
219    cad4rd      {{runGSASwEXP $cmd} {
220        Prepare CAD4 single crystal data}
221    }
222
223    fourier     {{runGSASwEXP $cmd} {
224        Generate Fourier map}
225    }
226
227    gsas2map    {{runGSASwEXP $cmd} {
228        Export GSAS Fourier maps in other formats}
229    }
230
231    geometry    {{runGSASwEXP $cmd} {
232        Molecular geometry calculations}
233    }
234
235    ortep       {{runGSASwEXP $cmd} {
236        Draw crystal structure}
237    }
238
239    rawplot     {{runGSASprog $cmd} {
240        Plot powder data}
241    }
242
243
244    p3r3data    {{runGSASwEXP $cmd} {
245        Prepare Siemens/Brucker P3R3 single crystal data}
246    }
247
248    forsrh      {{runGSASwEXP $cmd} {
249        Search Fourier map for peaks}
250    }
251
252    hklsort     {{runGSASwEXP $cmd} {
253        Prepare HKL tables}
254    }
255
256    polfplot    {{runGSASwEXP $cmd} {
257        Display polefigures}
258    }
259
260    rducll      {{runGSASprog $cmd} {
261        Unit cell reduction}
262    }
263
264    sxtldata    {{runGSASwEXP $cmd} {
265        Prepare generic single crystal data}
266    }
267
268    scabs       {{runGSASwEXP $cmd} {
269        Single crystal absorption}
270    }
271
272    istats      {{runGSASwEXP $cmd} {
273        HKL Intensity statistics}
274    }
275
276    reflist     {{runGSASwEXP $cmd} {
277        List reflection data}
278    }
279
280    scmerge     {{runGSASwEXP $cmd} {
281        Sort and merge single crystal data}
282    }
283
284    pubtable    {{runGSASwEXP $cmd} {
285        Prepare atom parameter tables}
286    }
287
288    spcgroup    {{runGSASprog $cmd} {
289        Space group symbol interpreter}
290    }
291
292    rcalc       {{runGSASwEXP $cmd} {
293        Compute reflection resuduals}
294    }
295
296    unimol      {{runGSASwEXP $cmd} {
297        Unique molecule assembler}
298    }
299
300    gsas2cif    {{runGSASwEXP $cmd} {
301        Prepare IUCr crystallographic information (CIF) file}
302    }
303
304    vrstplot    {{runGSASwEXP $cmd} {
305        Create a "virtual reality" (.wrl) plot file}
306    }
307
308    fitspec     {{runGSASprog $cmd} {
309        Fit a TOF vanadium scattering spectrum}
310    }
311
312    dbwscnv     {{runGSASprog $cmd} {
313        Convert a powder diffraction data file from DBWS format}
314    }
315
316    x17bcnv     {{runGSASprog $cmd} {
317        Convert an energy dispersive diffractogram data file from NSLS X17b}
318    }
319    gsas2pdb    {{runGSASprog $cmd} {
320        Import (using GSAS2PDB & EXPEDT) and export coordinates (for 
321        macromolecular phases) to/from Protein Data Base files.}
322    }
323    ramafit     {{runGSASprog $cmd} {
324        Fits torsion angle distributions, particularly in peptide chains,
325        for use in restraints.}
326    }
327    ref2asc     {{runGSASprog $cmd} {
328        Exports a GSAS reflection file to ASCII for use in non-GSAS programs}
329    }
330    ref2bin     {{runGSASprog $cmd} {
331        Imports an ASCII reflection file to the GSAS binary format.}
332    }   
333    seqgsas     {{runGSASwEXP $cmd} {
334        Run a set of sequential GSAS refinements}
335    }
336    seqplot     {{runGSASwEXP $cmd} {
337        Plot results from set of sequential GSAS refinements}
338    }
339    mustrplot   {{runGSASwEXP $cmd} {
340        Create surface plot (display in GNUPLOT) showing effect of
341        Stephens microstrain model}
342    }
343
344    composition {{composition} {
345        Compute the unit cell and asymmetric unit contents for each phase
346        taking occupancies and site multiplicities into account}
347    }
348
349    exp2xtl     {{exp2xtl} {
350        Save coordinates for a phase in an MSI xtl format file}
351    }
352
353    liveplot    {{liveplot} {
354        Create a plot of powder data (automatically updated) }
355    }
356
357    bkgedit     {{bkgedit} {
358        Fit background function to fixed background points}
359    }
360    excledt     {{excledit} {
361        Edit data limits and excluded data regions}
362    }
363    instedit    {{EditInstFile} {
364        Edit an instrument parameter file}
365    }
366    {New InstParm file} {- {
367        Create a new instrument parameter file}
368    }
369
370    {liveplot_options} {liveplotopt {
371        Used to set options for liveplot, for example, the
372        histogram to be plotted}
373    }
374   
375    convert     {convfile {
376        Convert a standard ASCII file to the direct access format used by GSAS (and for UNIX, the reverse)}
377    }
378
379    lstview     {lstview {
380        Create a box with scrollbars containing the current .LST file}
381    }
382
383    widplt      {widplt {
384        Displays the FWHM as a function of Q, 2Theta,... for UVWXY values input or read from an EXP file}
385    }
386    absplt      {"widplt absplt" {
387        Displays the intensity loss (1/Absorption Correction) Q, 2Theta,... for parameter values read from an EXP file}
388    }
389
390    "Override backspace" {- {
391        This option is available in UNIX only, as there are different
392        ways that backspace can be implemented. When option is set
393        as "On," the backspace key is overridden to send a "delete" 
394        character. If backspace does not work in a program such as
395        EXPEDT, change try the other setting for this option.} 
396    }
397    SaveOptions {- {
398        Save the current values for "Override backspace", 
399        "Sort atoms by", "Sort histograms by" and "archive EXP", etc.
400        in ~/.gsas_config (c:\gsas.config)}
401    }
402    EraseHistory {DeleteHistoryRecords {
403        Delete all but a selected number of history records; note that
404        this speeds EXPGUI somewhat. Since the largest number for a
405        history record is 999, the default is to also renumber the
406        records starting with 1}
407    }
408    exit        {- {
409        Exit EXPGUI}
410    }
411}
412
413# this defines the button bar contents
414set expgui(buttonlist) {
415        expnam
416        expedt
417        genles
418        powpref
419        powplot
420        lstview
421        liveplot
422}       
Note: See TracBrowser for help on using the repository browser.