source: branches/sandbox/gsasmenu.tcl @ 1021

Last change on this file since 1021 was 1021, checked in by chlake, 12 years ago

add disagl edit & viewer

  • Property svn:keywords set to Author Date Revision Id
File size: 9.1 KB
Line 
1# $Id: gsasmenu.tcl 1021 2010-10-12 17:46:50Z chlake $
2# $Revision: 1021 $ $Date: 2010-10-12 17:46:50 +0000 (Tue, 12 Oct 2010) $
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        EraseHistory
12        convert
13        dlst
14    }
15    option {
16        {liveplot_options}
17    }
18    powder {
19        expedt
20        powpref
21        genles
22        powplot
23        rawplot
24        fitspec
25        bkgedit
26        excledt
27        instedit
28        seqgsas
29        mustrplot
30    }
31    xtal {
32        expedt
33        genles
34        cad4rd
35        p3r3data
36        sxtldata
37        scabs
38        scmerge
39    }
40    graphs {
41        forplot
42        polfplot
43        powplot
44        ortep
45        rawplot
46        fourier
47        forsrh
48        gsas2map
49        liveplot
50        vrstplot
51        widplt 
52        absplt
53        seqplot
54        mustrplot
55    }
56    calc {
57        cllchg
58        composition
59        fprime
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    {archive EXP} {- {
161        Toggles archiving of .EXP files. When on, files are
162        saved prior to each save or run of expedt in a file named
163
164        <expnam>.Oxx where xx = 01, 02... FF}
165    }
166
167    showhelp    {showhelp {
168        Show the help information for commands and actions}
169    }
170
171    powpref     {{runGSASwEXP $cmd} {
172        Powder data preparation}   
173        {-underline 0}
174    }
175
176    bijcalc     {{runGSASwEXP $cmd} {
177        Thermal parameter analysis} 
178    }
179
180    powplot     {{runGSASwEXP $cmd 1} {
181        Display powder patterns}
182    }
183
184    cllchg      {{runGSASwEXP $cmd} {
185        Transform unit cell}
186    }
187
188    expedt      {{runGSASwEXP $cmd} {
189        Run GSAS experiment editor}
190        {-underline 0}
191    }
192
193    genles      {{runGSASwEXP $cmd} {
194        Run General Least Squares program}
195        {-underline 0}
196    }
197
198    disagl      {rundisagl {
199        Distance/angle calculations}
200    }
201
202    disaglviewer {Geo_Viewer {
203        Show distances and angles in a nice format}
204    }
205
206    forplot     {{runGSASwEXP $cmd} {
207        Display Fourier maps (set Fourier options in EXPEDT
208        and then compute with FOURIER)}
209    }
210
211    hstdmp      {{runGSASwEXP $cmd} {
212        List powder histogram data}
213    }
214
215    cad4rd      {{runGSASwEXP $cmd} {
216        Prepare CAD4 single crystal data}
217    }
218
219    fourier     {{runGSASwEXP $cmd} {
220        Generate Fourier map}
221    }
222
223    gsas2map    {{runGSASwEXP $cmd} {
224        Export GSAS Fourier maps in other formats}
225    }
226
227    geometry    {{runGSASwEXP $cmd} {
228        Molecular geometry calculations}
229    }
230
231    ortep       {{runGSASwEXP $cmd} {
232        Draw crystal structure}
233    }
234
235    rawplot     {{runGSASprog $cmd} {
236        Plot powder data}
237    }
238
239
240    p3r3data    {{runGSASwEXP $cmd} {
241        Prepare Siemens/Brucker P3R3 single crystal data}
242    }
243
244    forsrh      {{runGSASwEXP $cmd} {
245        Search Fourier map for peaks}
246    }
247
248    hklsort     {{runGSASwEXP $cmd} {
249        Prepare HKL tables}
250    }
251
252    polfplot    {{runGSASwEXP $cmd} {
253        Display polefigures}
254    }
255
256    rducll      {{runGSASprog $cmd} {
257        Unit cell reduction}
258    }
259
260    sxtldata    {{runGSASwEXP $cmd} {
261        Prepare generic single crystal data}
262    }
263
264    scabs       {{runGSASwEXP $cmd} {
265        Single crystal absorption}
266    }
267
268    istats      {{runGSASwEXP $cmd} {
269        HKL Intensity statistics}
270    }
271
272    reflist     {{runGSASwEXP $cmd} {
273        List reflection data}
274    }
275
276    scmerge     {{runGSASwEXP $cmd} {
277        Sort and merge single crystal data}
278    }
279
280    pubtable    {{runGSASwEXP $cmd} {
281        Prepare atom parameter tables}
282    }
283
284    spcgroup    {{runGSASprog $cmd} {
285        Space group symbol interpreter}
286    }
287
288    rcalc       {{runGSASwEXP $cmd} {
289        Compute reflection resuduals}
290    }
291
292    unimol      {{runGSASwEXP $cmd} {
293        Unique molecule assembler}
294    }
295
296    gsas2cif    {{runGSASwEXP $cmd} {
297        Prepare IUCr crystallographic information (CIF) file}
298    }
299
300    vrstplot    {{runGSASwEXP $cmd} {
301        Create a "virtual reality" (.wrl) plot file}
302    }
303
304    fitspec     {{runGSASprog $cmd} {
305        Fit a TOF vanadium scattering spectrum}
306    }
307
308    fprime      {{runGSASprog $cmd} {
309        Compute f, f', f'' and mu/rho for an element for a range of x-ray wavelengths}
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
367    {liveplot_options} {liveplotopt {
368        Used to set options for liveplot, for example, the
369        histogram to be plotted}
370    }
371   
372    convert     {convfile {
373        Convert a standard ASCII file to the direct access format used by GSAS (and for UNIX, the reverse)}
374    }
375
376    lstview     {lstview {
377        Create a box with scrollbars containing the current .LST file}
378    }
379
380    widplt      {widplt {
381        Displays the FWHM as a function of Q, 2Theta,... for UVWXY values input or read from an EXP file}
382    }
383    absplt      {"widplt absplt" {
384        Displays the intensity loss (1/Absorption Correction) Q, 2Theta,... for parameter values read from an EXP file}
385    }
386
387    "Override backspace" {- {
388        This option is available in UNIX only, as there are different
389        ways that backspace can be implemented. When option is set
390        as "On," the backspace key is overridden to send a "delete" 
391        character. If backspace does not work in a program such as
392        EXPEDT, change try the other setting for this option.} 
393    }
394    SaveOptions {- {
395        Save the current values for "Override backspace", 
396        "Sort atoms by", "Sort histograms by" and "archive EXP", etc.
397        in ~/.gsas_config (c:\gsas.config)}
398    }
399    EraseHistory {DeleteHistoryRecords {
400        Delete all but a selected number of history records; note that
401        this speeds EXPGUI somewhat. Since the largest number for a
402        history record is 999, the default is to also renumber the
403        records starting with 1}
404    }
405    exit        {- {
406        Exit EXPGUI}
407    }
408}
409
410# this defines the button bar contents
411set expgui(buttonlist) {
412        expnam
413        expedt
414        genles
415        powpref
416        powplot
417        lstview
418        liveplot
419}       
Note: See TracBrowser for help on using the repository browser.