source: sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/MainPanel.ipf @ 764

Last change on this file since 764 was 764, checked in by srkline, 12 years ago
  • fixed a few bugs with GenCurveFit?, and how the reports are generated


  • the DEFAULT.MASK file is automatically loaded when the path is set, if it can be found. this only happens from the main (yellow) panel. Nothing happens if that exact file is not found.


  • a "Sector_PlusMinus" averaging option is added. This defines the LEFT sector as being "negative" q-values. Everything else behaves as a normal sector average. This is from Lionel, a very old ticket #31


  • if sectors or annular regions are drawn on RAW data files, the drawn lines are re-drawn correctly as the data is scrolled using the < and > buttons.


  • a super secret option for a "histogram pair" has been added. May be useful for alignment, may ditch if Jeff and Cedric don't like it. To do this, put cursor A on the 2D image at the center of where you want the vertical and horizontal swath to be. +-5 pixels is hard-wired. draw any marquee(size, location is ignored) and select SANS Histogram, and you get the pair. If cursor A is not on the graph, you get the normal histogram as defined by the marquee.


  • arrow buttons on RAW 2D data display now search +- 10 data files for "next", in case there are missing file numbers.


  • Incorporated Lionel's changes to ILL_* files for his generation of a "DIV" file for D22


  • Added the offset traces checkbox back to the SASCALC panel. previously it was hidden on the simulation panels.


  • loosened the tolerance for SDD matching onn the MRED panel to 0.1 m



File size: 19.9 KB
Line 
1#pragma rtGlobals=1             // Use modern global access method.
2#pragma version=5.0
3#pragma IgorVersion=6.1
4
5//*********************
6// Vers 1.2 091901
7//
8//draws main panel of buttons for all data reduction operations
9//panel can't be killed (without really trying)
10// initialize() from the SANS menu will redraw the panel
11//panel simply dispatches to previously written procedures (not functions)
12//
13// **function names are really self-explanatory...see the called function for the real details
14//
15//**********************
16
17Proc PickPath_MainButtonProc(ctrlName) : ButtonControl
18        String ctrlName
19       
20        PickPath()
21        // read in DEFAULT.MASK, if it exists, otherwise, do nothing
22        //
23        PathInfo catPathName
24        if(V_flag==1)
25                String str = S_Path + "DEFAULT.MASK"
26                Variable refnum
27                Open/R/Z=1 refnum as str
28                if(strlen(S_filename) != 0)
29                        Close refnum            //file can be found OK
30                        ReadMCID_MASK(str)
31                else
32                        // file not found, close just in case
33                        Close/A
34                endif
35        endif
36End
37
38Proc DrawMask_MainButtonProc(ctrlName) : ButtonControl
39        String ctrlName
40       
41        DrawMask()
42End
43
44Proc DisplayMainButtonProc(ctrlName) : ButtonControl
45        String ctrlName
46
47        Variable err=   LoadRawSANSData("Select a Raw SANS data file")
48        if(!err)
49                UpdateDisplayInformation("RAW")
50        endif
51End
52
53Proc PatchMainButtonProc(ctrlName) : ButtonControl
54        String ctrlName
55
56        PatchFiles()
57End
58
59Proc TransMainButtonProc(ctrlName) : ButtonControl
60        String ctrlName
61
62         CalcTrans()
63End
64
65Proc BuildProtocol_MainButtonProc(ctrlName) : ButtonControl
66        String ctrlName
67
68        ReductionProtocolPanel()
69End
70
71Proc ReduceAFile_MainButtonProc(ctrlName) : ButtonControl
72        String ctrlName
73
74        ReduceAFile()
75End
76
77Proc ReduceMultiple_MainButtonProc(ctrlName) : ButtonControl
78        String ctrlName
79
80        ReduceMultipleFiles()
81End
82
83Proc Plot1D_MainButtonProc(ctrlName) : ButtonControl
84        String ctrlName
85
86        //LoadOneDData()
87        Show_Plot_Manager()
88End
89
90Proc Sort1D_MainButtonProc(ctrlName) : ButtonControl
91        String ctrlName
92
93        ShowNSORTPanel()
94End
95
96Proc Combine1D_MainButtonProc(ctrlName) : ButtonControl
97        String ctrlName
98
99        ShowCombinePanel()
100End
101
102
103Proc Fit1D_MainButtonProc(ctrlName) : ButtonControl
104        String ctrlName
105
106        OpenFITPanel()
107End
108
109Proc FitRPA_MainButtonProc(ctrlName) : ButtonControl
110        String ctrlName
111
112        OpenFITRPAPanel()
113End
114
115Proc Subtract1D_MainButtonProc(ctrlName) : ButtonControl
116        String ctrlName
117
118        OpenSubtract1DPanel()
119End
120
121Proc Arithmetic1D_MainButtonProc(ctrlName) : ButtonControl
122        String ctrlName
123
124        MakeDAPanel()
125End
126
127Proc DisplayInterm_MainButtonProc(ctrlName) : ButtonControl
128        String ctrlName
129
130        ChangeDisplay()
131End
132
133Proc ReadMask_MainButtonProc(ctrlName) : ButtonControl
134        String ctrlName
135
136        ReadMask()
137End
138
139Proc Draw3D_MainButtonProc(ctrlName) : ButtonControl
140        String ctrlName
141
142        Plot3DSurface()
143End
144
145//on Misc Ops tab, generates a notebook
146Proc CatShort_MainButtonProc(ctrlName) : ButtonControl
147        String ctrlName
148
149        BuildCatShortNotebook()
150End
151
152//button is labeled "File Catalog"
153Proc CatVShort_MainButtonProc(ctrlName) : ButtonControl
154        String ctrlName
155
156        //BuildCatVeryShortNotebook()
157        BuildCatVeryShortTable()
158End
159
160Proc ShowCatShort_MainButtonProc(ctrlName) : ButtonControl
161        String ctrlName
162
163        ShowCATWindow()
164End
165
166Proc ShowSchematic_MainButtonProc(ctrlName) : ButtonControl
167        String ctrlName
168       
169        if(root:myGlobals:isDemoVersion == 1)
170                //      comment out in DEMO_MODIFIED version, and show the alert
171                DoAlert 0,"This operation is not available in the Demo version of IGOR"
172        else
173                ShowSchematic()
174        endif
175End
176
177Proc ShowAvePanel_MainButtonProc(ctrlName) : ButtonControl
178        String ctrlName
179
180        ShowAveragePanel()
181End
182
183Proc HelpMainButtonProc(ctrlName) : ButtonControl
184        String ctrlName
185        DisplayHelpTopic/Z/K=1 "SANS Data Reduction Tutorial"
186        if(V_flag !=0)
187                DoAlert 0,"The SANS Data Reduction Tutorial Help file could not be found"
188        endif
189End
190
191Proc ShowTilePanel_MainButtonProc(ctrlName) : ButtonControl
192        String ctrlName
193       
194        if(root:myGlobals:isDemoVersion == 1)
195                //      comment out in DEMO_MODIFIED version, and show the alert
196                DoAlert 0,"This operation is not available in the Demo version of IGOR"
197        else
198                Show_Tile_2D_Panel()
199        endif
200End
201
202Proc NG1TransConv_MainButtonProc(ctrlName) : ButtonControl
203        String ctrlName
204
205        TransformToTransFile()
206End
207
208Proc CopyWork_MainButtonProc(ctrlName) : ButtonControl
209        String ctrlName
210
211        CopyWorkFolder()                //will put up missing param dialog
212End
213
214Proc PRODIV_MainButtonProc(ctrlName) : ButtonControl
215        String ctrlName
216
217        //new, May 2009. show a full panel for input
218        BuildDIVPanel()
219//      MakeDIVFile("","")                     
220End
221
222
223Proc WorkMath_MainButtonProc(ctrlName) : ButtonControl
224        String ctrlName
225
226        Show_WorkMath_Panel()
227End
228
229Proc TISANE_MainButtonProc(ctrlName) : ButtonControl
230        String ctrlName
231       
232        if(exists("Show_TISANE_Panel")==0)
233                // procedure file was not loaded
234                DoAlert 0,"This operation is not available in this set of macros"
235        else
236                Show_TISANE_Panel()
237        endif
238       
239End
240
241Proc Raw2ASCII_MainButtonProc(ctrlName) : ButtonControl
242        String ctrlName
243
244        Export_RAW_Ascii_Panel()
245End
246
247Proc RealTime_MainButtonProc(ctrlName) : ButtonControl
248        String ctrlName
249
250        if(exists("Init_for_RealTime")==0)
251                // procedure file was not loaded
252                DoAlert 0,"This operation is not available in this set of macros"
253        else
254                Show_RealTime_Panel()
255        endif
256End
257
258Proc Preferences_MainButtonProc(ctrlName) : ButtonControl
259        String ctrlName
260
261        Show_Preferences_Panel()
262End
263
264////////////////////////////////////////////////
265//************* NEW version of Main control Panel *****************
266//
267// button management for the different tabs is handled by consistent
268// naming of each button with its tab number as documented below
269// then MainTabProc() can enable/disable the appropriate buttons for the
270// tab that is displayed
271//
272// panel must be killed and redrawn for new buttons to appear
273//
274Window Main_Panel()
275        PauseUpdate; Silent 1           // building window...
276        NewPanel /W=(500,60,924,320) /K=2 as "SANS Reduction Controls"
277        ModifyPanel cbRGB=(65535,58981,27524)
278        ModifyPanel fixedSize=1
279//////
280//on main portion of panel
281        Button MainButtonA,pos={8,8},size={80,20},title="Pick Path",proc=PickPath_MainButtonProc
282        Button MainButtonA,help={"Pick the local data folder that contains the SANS data"}
283        Button MainButtonB,pos={100,8},size={90,20},proc=CatVShort_MainButtonProc,title="File Catalog"
284        Button MainButtonB,help={"This will generate a condensed CATalog table of all files in a specified local folder"}
285        Button MainButtonC,pos={250,8},size={50,20},proc=HelpMainButtonProc,title="Help"
286        Button MainButtonC,help={"Display the help file"}
287        Button MainButtonD,pos={320,8},size={80,20},proc=SR_OpenTracTicketPage,title="Feedback"
288        Button MainButtonD,help={"Submit bug reports or feature requests"}
289       
290        TabControl MainTab,pos={7,49},size={410,202},tabLabel(0)="Raw Data",proc=MainTabProc
291        TabControl MainTab,tabLabel(1)="Reduction",tabLabel(2)="1-D Ops",tabLabel(3)="2-D Ops",tabLabel(4)="Misc Ops"
292        TabControl MainTab,value=0
293        //
294        TabControl MainTab labelBack=(65535,58981,27524)
295       
296//on tab(0) - Raw Data - initially visible
297        Button MainButton_0a,pos={15,90},size={130,20},proc=DisplayMainButtonProc,title="Display Raw Data"
298        Button MainButton_0a,help={"Display will load and plot a single 2-D raw data file"}
299        Button MainButton_0b,pos={15,120},size={70,20},proc=PatchMainButtonProc,title="Patch"
300        Button MainButton_0b,help={"Patch will update incorrect information in raw data headers"}
301        Button MainButton_0c,pos={15,150},size={110,20},proc=TransMainButtonProc,title="Transmission"
302        Button MainButton_0c,help={"Shows the \"Patch\" panel which allows calculation of sample transmissions and entering these values into raw data headers"}
303        Button MainButton_0d,pos={15,180},size={130,20},proc=RealTime_MainButtonProc,title="RealTime Display"
304        Button MainButton_0d,help={"Shows the panel for control of the RealTime data display. Only used during data collection"}
305
306//on tab(1) - Reduction
307        Button MainButton_1a,pos={15,90},size={110,20},proc=BuildProtocol_MainButtonProc,title="Build Protocol"
308        Button MainButton_1a,help={"Shows a panel where the CATalog window is used as input for creating a protocol. Can also be used for standard reductions"}
309        Button MainButton_1b,pos={15,120},size={110,20},proc=ReduceAFile_MainButtonProc,title="Reduce a File"
310        Button MainButton_1b,help={"Presents a questionnare for creating a reduction protocol, then reduces a single file"}
311        Button MainButton_1c,pos={15,150},size={160,20},proc=ReduceMultiple_MainButtonProc,title="Reduce Multiple Files"
312        Button MainButton_1c,help={"Use for reducing multiple raw datasets after protocol(s) have been created"}
313        Button MainButton_1d,pos={15,180},size={110,20},proc=ShowCatShort_MainButtonProc,title="Show CAT Table"
314        Button MainButton_1d,help={"This button will bring the CATalog window to the front, if it exists"}
315        Button MainButton_1a,disable=1
316        Button MainButton_1b,disable=1
317        Button MainButton_1c,disable=1
318        Button MainButton_1d,disable=1
319
320//on tab(2) - 1-D operations
321        Button MainButton_2a,pos={15,90},size={60,20},proc=Plot1D_MainButtonProc,title="Plot"
322        Button MainButton_2a,help={"Loads and plots a 1-D dataset in the format expected by \"FIT\""}
323        Button MainButton_2b,pos={15,120},size={60,20},proc=Sort1D_MainButtonProc,title="Sort"
324        Button MainButton_2b,help={"Sorts and combines 2 or 3 separate 1-D datasets into a single file. Use \"Plot\" button to import 1-D data files"}
325        Button MainButton_2c,pos={15,150},size={60,20},proc=Fit1D_MainButtonProc,title="FIT"
326        Button MainButton_2c,help={"Shows panel for performing a variety of linearized fits to 1-D data files. Use \"Plot\" button to import 1-D data files"}
327        Button MainButton_2d,pos={15,180},size={60,20},proc=FITRPA_MainButtonProc,title="FIT/RPA"
328        Button MainButton_2d,help={"Shows panel for performing a fit to a polymer standard."}
329//      Button MainButton_2e,pos={120,90},size={90,20},proc=Subtract1D_MainButtonProc,title="Subtract 1D"
330//      Button MainButton_2e,help={"Shows panel for subtracting two 1-D data sets"}
331        Button MainButton_2e,pos={120,90},size={110,20},proc=Arithmetic1D_MainButtonProc,title="1D Arithmetic"
332        Button MainButton_2e,help={"Shows panel for doing arithmetic on 1D data sets"}
333        Button MainButton_2f,pos={120,120},size={130,20},proc=Combine1D_MainButtonProc,title="Combine 1D Files"
334        Button MainButton_2f,help={"Shows panel for batch combination of 1D data files. Use after you're comfortable with NSORT"}
335        Button MainButton_2a,disable=1
336        Button MainButton_2b,disable=1
337        Button MainButton_2c,disable=1
338        Button MainButton_2d,disable=1
339        Button MainButton_2e,disable=1
340        Button MainButton_2f,disable=1
341
342
343
344//on tab(3) - 2-D Operations
345        Button MainButton_3a,pos={15,90},size={90,20},proc=DisplayInterm_MainButtonProc,title="Display 2D"
346        Button MainButton_3a,help={"Display will plot a 2-D work data file that has previously been created during data reduction"}
347        Button MainButton_3b,pos={15,120},size={90,20},title="Draw Mask",proc=DrawMask_MainButtonProc
348        Button MainButton_3b,help={"Draw a mask file and save it."}
349        Button MainButton_3c,pos={15,150},size={90,20},proc=ReadMask_MainButtonProc,title="Read Mask"
350        Button MainButton_3c,help={"Reads a mask file into the proper work folder, and displays a small image of the mask. Yellow areas will be excluded from the data"}
351        Button MainButton_3d,pos={15,180},size={100,20},title="Tile RAW 2D",proc=ShowTilePanel_MainButtonProc
352        Button MainButton_3d,help={"Adds selected RAW data files to a layout."}
353        Button MainButton_3e,pos={150,90},size={100,20},title="Copy Work",proc=CopyWork_MainButtonProc
354        Button MainButton_3e,help={"Copies WORK data from specified folder to destination folder."}
355        Button MainButton_3f,pos={150,120},size={110,20},title="WorkFile Math",proc=WorkMath_MainButtonProc
356        Button MainButton_3f,help={"Perfom simple math operations on workfile data"}
357        Button MainButton_3g,pos={150,180},size={100,20},title="TISANE",proc=TISANE_MainButtonProc
358        Button MainButton_3g,help={"Manipulate TISANE Timeslice data"}
359       
360        Button MainButton_3a,disable=1
361        Button MainButton_3b,disable=1
362        Button MainButton_3c,disable=1
363        Button MainButton_3d,disable=1
364        Button MainButton_3e,disable=1
365        Button MainButton_3f,disable=1
366        Button MainButton_3g,disable=1
367
368//on tab(4) - Miscellaneous operations
369        Button MainButton_4a,pos={15,90},size={80,20},proc=Draw3D_MainButtonProc,title="3D Display"
370        Button MainButton_4a,help={"Plots a 3-D surface of the selected file type"}
371        Button MainButton_4b,pos={15,120},size={120,20},proc=ShowSchematic_MainButtonProc,title="Show Schematic"
372        Button MainButton_4b,help={"Use this to show a schematic of the data reduction process for a selected sample file and reduction protocol"}
373        Button MainButton_4c,pos={15,150},size={80,20},proc=ShowAvePanel_MainButtonProc,title="Average"
374        Button MainButton_4c,help={"Shows a panel for interactive selection of the 1-D averaging step"}
375        Button MainButton_4d,pos={15,180},size={110,20},proc=CatShort_MainButtonProc,title="CAT/Notebook"
376        Button MainButton_4d,help={"This will generate a CATalog notebook of all files in a specified local folder"}
377        Button MainButton_4e,pos={180,90},size={130,20},proc=NG1TransConv_MainButtonProc,title="NG1 Files to Trans"
378        Button MainButton_4e,help={"Converts NG1 transmission data files to be interpreted as such"}
379        Button MainButton_4f,pos={180,120},size={130,20},proc=PRODIV_MainButtonProc,title="Make DIV file"
380        Button MainButton_4f,help={"Merges two stored workfiles (CORrected) into a DIV file, and saves the result"}
381        Button MainButton_4g,pos={180,150},size={130,20},proc=Raw2ASCII_MainButtonProc,title="RAW ASCII Export"
382        Button MainButton_4g,help={"Exports selected RAW (2D) data file(s) as ASCII, either as pixel values or I(Qx,Qy)"}
383        Button MainButton_4h,pos={180,180},size={130,20},proc=Preferences_MainButtonProc,title="Preferences"
384        Button MainButton_4h,help={"Sets user preferences for selected parameters"}
385       
386        Button MainButton_4a,disable=1
387        Button MainButton_4b,disable=1
388        Button MainButton_4c,disable=1
389        Button MainButton_4d,disable=1
390        Button MainButton_4e,disable=1
391        Button MainButton_4f,disable=1
392        Button MainButton_4g,disable=1
393        Button MainButton_4h,disable=1
394//     
395EndMacro
396
397// function to control the drawing of buttons in the TabControl on the main panel
398// Naming scheme for the buttons MUST be strictly adhered to... else buttons will
399// appear in odd places...
400// all buttons are named MainButton_NA where N is the tab number and A is the letter denoting
401// the button's position on that particular tab.
402// in this way, buttons will always be drawn correctly..
403//
404Function MainTabProc(name,tab)
405        String name
406        Variable tab
407       
408//      Print "name,number",name,tab
409        String ctrlList = ControlNameList("",";"),item="",nameStr=""
410        Variable num = ItemsinList(ctrlList,";"),ii,onTab
411        for(ii=0;ii<num;ii+=1)
412                //items all start w/"MainButton_"
413                item=StringFromList(ii, ctrlList ,";")
414                nameStr=item[0,10]
415                if(cmpstr(nameStr,"MainButton_")==0)
416                        onTab = str2num(item[11])
417                        Button $item,disable=(tab!=onTab)
418                endif
419        endfor
420End
421
422//
423Function SR_OpenTracTicketPage(ctrlName)
424        String ctrlName
425        DoAlert 1,"Your web browser will open to a page where you can submit your bug report or feature request. OK?"
426        if(V_flag==1)
427                BrowseURL "http://danse.chem.utk.edu/trac/newticket"
428        endif
429End
430
431//********************************
432//************* OLD version of Main Panel *************
433//Window Main_Panel()
434Window OLD_Main_Panel()
435        PauseUpdate; Silent 1           // building window...
436        NewPanel /K=2 /W=(630,75,938,408) as "SANS Reduction Controls"
437        ModifyPanel cbRGB=(52428,52425,1)
438        ModifyPanel fixedSize=1
439        SetDrawLayer UserBack
440        SetDrawEnv fillfgc= (24672,51914,36494)
441        DrawRect 2,250,303,325
442        SetDrawEnv fillfgc= (24672,51914,36494)
443        DrawRect 2,243,186,194
444        SetDrawEnv fillfgc= (24672,51914,36494)
445        DrawRect 2,140,303,189
446        SetDrawEnv fillfgc= (24672,51914,36494)
447        DrawRect 2,59,303,133
448        SetDrawEnv fillfgc= (24672,51914,36494)
449        DrawRect 2,2,303,53
450        SetDrawEnv fstyle= 5
451        DrawText 6,20,"Raw Data Operations"
452        SetDrawEnv fstyle= 5
453        DrawText 6,79,"Data Reduction Operations"
454        SetDrawEnv fstyle= 5
455        DrawText 6,158,"1-D Data Operations"
456        SetDrawEnv fstyle= 5
457        DrawText 6,212,"Intermediate 2-D Files"
458        SetDrawEnv fstyle= 5
459        DrawText 6,268,"Miscellaneous"
460        SetDrawEnv fillfgc= (24672,51914,36494)
461        DrawRect 190,194,303,242
462        SetDrawEnv fstyle= 5
463        DrawText 200,211,"Data Folder"
464        Button MainButton_0,pos={6,25},size={70,20},proc=DisplayMainButtonProc,title="Display"
465        Button MainButton_0,help={"Display will load and plot a single 2-D raw data file"}
466        Button MainButton_1,pos={86,25},size={70,20},proc=PatchMainButtonProc,title="Patch"
467        Button MainButton_1,help={"Patch will update incorrect information in raw data headers"}
468        Button MainButton_2,pos={166,25},size={110,20},proc=TransMainButtonProc,title="Transmission"
469        Button MainButton_2,help={"Shows the \"Patch\" panel which allows calculation of sample transmissions and entering these values into raw data headers"}
470        Button MainButton_3,pos={6,82},size={110,20},proc=BuildProtocol_MainButtonProc,title="Build Protocol"
471        Button MainButton_3,help={"Shows a panel where the CATalog window is used as input for creating a protocol. Can also be used for standard reductions"}
472        Button MainButton_4,pos={147,82},size={110,20},proc=ReduceAFile_MainButtonProc,title="Reduce a File"
473        Button MainButton_4,help={"Presents a questionnare for creating a reduction protocol, then reduces a single file"}
474        Button MainButton_5,pos={6,107},size={160,20},proc=ReduceMultiple_MainButtonProc,title="Reduce Multiple Files"
475        Button MainButton_5,help={"Use for reducing multiple raw datasets after protocol(s) have been created"}
476
477        Button MainButton_19,pos={175,107},size={80,20},title="Draw Mask",proc=DrawMask_MainButtonProc
478        Button MainButton_19,help={"Draw a mask file and save it."}
479       
480        Button MainButton_6,pos={6,162},size={60,20},proc=Plot1D_MainButtonProc,title="Plot"
481        Button MainButton_6,help={"Loads and plots a 1-D dataset in the format expected by \"Sort\" and \"FIT\""}
482        Button MainButton_7,pos={77,162},size={60,20},proc=Sort1D_MainButtonProc,title="Sort"
483        Button MainButton_7,help={"Sorts and combines 2 or 3 separate 1-D datasets into a single file. Use \"Plot\" button to import 1-D data files"}
484        Button MainButton_8,pos={147,162},size={60,20},proc=Fit1D_MainButtonProc,title="FIT"
485        Button MainButton_8,help={"Shows panel for performing a variety of linearized fits to 1-D data files. Use \"Plot\" button to import 1-D data files"}
486
487        Button MainButton_17,pos={217,162},size={60,20},proc=FITRPA_MainButtonProc,title="FIT/RPA"
488        Button MainButton_17,help={"Shows panel for performing a fit to a polymer standard."}
489
490        Button MainButton_9,pos={6,216},size={70,20},proc=DisplayInterm_MainButtonProc,title="Display"
491        Button MainButton_9,help={"Display will plot a 2-D work data file that has previously been created during data reduction"}
492        Button MainButton_10,pos={89,216},size={90,20},proc=ReadMask_MainButtonProc,title="Read Mask"
493        Button MainButton_10,help={"Reads a mask file into the proper work folder, and displays a small image of the mask. Yellow areas will be excluded from the data"}
494        Button MainButton_11,pos={6,298},size={80,20},proc=Draw3D_MainButtonProc,title="3D Display"
495        Button MainButton_11,help={"Plots a 3-D surface of the selected file type"}
496        Button MainButton_12,pos={6,273},size={90,20},proc=CatShort_MainButtonProc,title="CAT/SHORT"
497        Button MainButton_12,help={"This will generate a CATalog window of all files in a specified local folder"}
498
499        Button MainButton_18,pos={106,273},size={90,20},proc=CatVShort_MainButtonProc,title="CAT/VShort"
500        Button MainButton_18,help={"This will generate a condensed CATalog table of all files in a specified local folder"}
501
502        Button MainButton_13,pos={206,273},size={90,20},proc=ShowCatShort_MainButtonProc,title="Show CAT"
503        Button MainButton_13,help={"This button will bring the CATalog window to the front, if it exists"}
504        Button MainButton_14,pos={96,298},size={110,20},proc=ShowSchematic_MainButtonProc,title="Show Schematic"
505        Button MainButton_14,help={"Use this to show a schematic of the data reduction process for a selected sample file and reduction protocol"}
506        Button MainButton_15,pos={216,298},size={80,20},proc=ShowAvePanel_MainButtonProc,title="Average"
507        Button MainButton_15,help={"Shows a panel for interactive selection of the 1-D averaging step"}
508        Button MainButton_16,pos={200,214},size={80,20},title="Pick Path",proc=PickPath_MainButtonProc
509        Button MainButton_16,help={"Pick the local data folder that contains the SANS data"}
510       
511EndMacro
512//****************above is OLD********************
Note: See TracBrowser for help on using the repository browser.