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

Last change on this file since 890 was 885, checked in by srkline, 10 years ago

Changed the TISANE button on the main panel to be "Event Data"

Added commands to the SANS menu for event mode data, inlcluding opening the panels and splitting large files.

fixed a bug in the reloading of previously adjusted data where oscillatory data would be rescaled to the first event time. Now there is no rescaling of the time.

File size: 20.2 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
229//Proc 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//     
239//End
240
241Proc Event_MainButtonProc(ctrlName) : ButtonControl
242        String ctrlName
243       
244        if(exists("Show_Event_Panel")==0)
245                // procedure file was not loaded
246                DoAlert 0,"This operation is not available in this set of macros"
247        else
248                Show_Event_Panel()
249        endif
250       
251End
252
253Proc Raw2ASCII_MainButtonProc(ctrlName) : ButtonControl
254        String ctrlName
255
256        Export_RAW_Ascii_Panel()
257End
258
259Proc RealTime_MainButtonProc(ctrlName) : ButtonControl
260        String ctrlName
261
262        if(exists("Init_for_RealTime")==0)
263                // procedure file was not loaded
264                DoAlert 0,"This operation is not available in this set of macros"
265        else
266                Show_RealTime_Panel()
267        endif
268End
269
270Proc Preferences_MainButtonProc(ctrlName) : ButtonControl
271        String ctrlName
272
273        Show_Preferences_Panel()
274End
275
276////////////////////////////////////////////////
277//************* NEW version of Main control Panel *****************
278//
279// button management for the different tabs is handled by consistent
280// naming of each button with its tab number as documented below
281// then MainTabProc() can enable/disable the appropriate buttons for the
282// tab that is displayed
283//
284// panel must be killed and redrawn for new buttons to appear
285//
286Window Main_Panel()
287        PauseUpdate; Silent 1           // building window...
288        NewPanel /W=(500,60,924,320) /K=2 as "SANS Reduction Controls"
289        ModifyPanel cbRGB=(65535,58981,27524)
290        ModifyPanel fixedSize=1
291//////
292//on main portion of panel
293        Button MainButtonA,pos={8,8},size={80,20},title="Pick Path",proc=PickPath_MainButtonProc
294        Button MainButtonA,help={"Pick the local data folder that contains the SANS data"}
295        Button MainButtonB,pos={100,8},size={90,20},proc=CatVShort_MainButtonProc,title="File Catalog"
296        Button MainButtonB,help={"This will generate a condensed CATalog table of all files in a specified local folder"}
297        Button MainButtonC,pos={250,8},size={50,20},proc=HelpMainButtonProc,title="Help"
298        Button MainButtonC,help={"Display the help file"}
299        Button MainButtonD,pos={320,8},size={80,20},proc=SR_OpenTracTicketPage,title="Feedback"
300        Button MainButtonD,help={"Submit bug reports or feature requests"}
301       
302        TabControl MainTab,pos={7,49},size={410,202},tabLabel(0)="Raw Data",proc=MainTabProc
303        TabControl MainTab,tabLabel(1)="Reduction",tabLabel(2)="1-D Ops",tabLabel(3)="2-D Ops",tabLabel(4)="Misc Ops"
304        TabControl MainTab,value=0
305        //
306        TabControl MainTab labelBack=(65535,58981,27524)
307       
308//on tab(0) - Raw Data - initially visible
309        Button MainButton_0a,pos={15,90},size={130,20},proc=DisplayMainButtonProc,title="Display Raw Data"
310        Button MainButton_0a,help={"Display will load and plot a single 2-D raw data file"}
311        Button MainButton_0b,pos={15,120},size={70,20},proc=PatchMainButtonProc,title="Patch"
312        Button MainButton_0b,help={"Patch will update incorrect information in raw data headers"}
313        Button MainButton_0c,pos={15,150},size={110,20},proc=TransMainButtonProc,title="Transmission"
314        Button MainButton_0c,help={"Shows the \"Patch\" panel which allows calculation of sample transmissions and entering these values into raw data headers"}
315        Button MainButton_0d,pos={15,180},size={130,20},proc=RealTime_MainButtonProc,title="RealTime Display"
316        Button MainButton_0d,help={"Shows the panel for control of the RealTime data display. Only used during data collection"}
317
318//on tab(1) - Reduction
319        Button MainButton_1a,pos={15,90},size={110,20},proc=BuildProtocol_MainButtonProc,title="Build Protocol"
320        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"}
321        Button MainButton_1b,pos={15,120},size={110,20},proc=ReduceAFile_MainButtonProc,title="Reduce a File"
322        Button MainButton_1b,help={"Presents a questionnare for creating a reduction protocol, then reduces a single file"}
323        Button MainButton_1c,pos={15,150},size={160,20},proc=ReduceMultiple_MainButtonProc,title="Reduce Multiple Files"
324        Button MainButton_1c,help={"Use for reducing multiple raw datasets after protocol(s) have been created"}
325        Button MainButton_1d,pos={15,180},size={110,20},proc=ShowCatShort_MainButtonProc,title="Show CAT Table"
326        Button MainButton_1d,help={"This button will bring the CATalog window to the front, if it exists"}
327        Button MainButton_1a,disable=1
328        Button MainButton_1b,disable=1
329        Button MainButton_1c,disable=1
330        Button MainButton_1d,disable=1
331
332//on tab(2) - 1-D operations
333        Button MainButton_2a,pos={15,90},size={60,20},proc=Plot1D_MainButtonProc,title="Plot"
334        Button MainButton_2a,help={"Loads and plots a 1-D dataset in the format expected by \"FIT\""}
335        Button MainButton_2b,pos={15,120},size={60,20},proc=Sort1D_MainButtonProc,title="Sort"
336        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"}
337        Button MainButton_2c,pos={15,150},size={60,20},proc=Fit1D_MainButtonProc,title="FIT"
338        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"}
339        Button MainButton_2d,pos={15,180},size={60,20},proc=FITRPA_MainButtonProc,title="FIT/RPA"
340        Button MainButton_2d,help={"Shows panel for performing a fit to a polymer standard."}
341//      Button MainButton_2e,pos={120,90},size={90,20},proc=Subtract1D_MainButtonProc,title="Subtract 1D"
342//      Button MainButton_2e,help={"Shows panel for subtracting two 1-D data sets"}
343        Button MainButton_2e,pos={120,90},size={110,20},proc=Arithmetic1D_MainButtonProc,title="1D Arithmetic"
344        Button MainButton_2e,help={"Shows panel for doing arithmetic on 1D data sets"}
345        Button MainButton_2f,pos={120,120},size={130,20},proc=Combine1D_MainButtonProc,title="Combine 1D Files"
346        Button MainButton_2f,help={"Shows panel for batch combination of 1D data files. Use after you're comfortable with NSORT"}
347        Button MainButton_2a,disable=1
348        Button MainButton_2b,disable=1
349        Button MainButton_2c,disable=1
350        Button MainButton_2d,disable=1
351        Button MainButton_2e,disable=1
352        Button MainButton_2f,disable=1
353
354
355
356//on tab(3) - 2-D Operations
357        Button MainButton_3a,pos={15,90},size={90,20},proc=DisplayInterm_MainButtonProc,title="Display 2D"
358        Button MainButton_3a,help={"Display will plot a 2-D work data file that has previously been created during data reduction"}
359        Button MainButton_3b,pos={15,120},size={90,20},title="Draw Mask",proc=DrawMask_MainButtonProc
360        Button MainButton_3b,help={"Draw a mask file and save it."}
361        Button MainButton_3c,pos={15,150},size={90,20},proc=ReadMask_MainButtonProc,title="Read Mask"
362        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"}
363        Button MainButton_3d,pos={15,180},size={100,20},title="Tile RAW 2D",proc=ShowTilePanel_MainButtonProc
364        Button MainButton_3d,help={"Adds selected RAW data files to a layout."}
365        Button MainButton_3e,pos={150,90},size={100,20},title="Copy Work",proc=CopyWork_MainButtonProc
366        Button MainButton_3e,help={"Copies WORK data from specified folder to destination folder."}
367        Button MainButton_3f,pos={150,120},size={110,20},title="WorkFile Math",proc=WorkMath_MainButtonProc
368        Button MainButton_3f,help={"Perfom simple math operations on workfile data"}
369        Button MainButton_3g,pos={150,180},size={100,20},title="Event Data",proc=Event_MainButtonProc
370        Button MainButton_3g,help={"Manipulate TISANE Timeslice data"}
371       
372        Button MainButton_3a,disable=1
373        Button MainButton_3b,disable=1
374        Button MainButton_3c,disable=1
375        Button MainButton_3d,disable=1
376        Button MainButton_3e,disable=1
377        Button MainButton_3f,disable=1
378        Button MainButton_3g,disable=1
379
380//on tab(4) - Miscellaneous operations
381        Button MainButton_4a,pos={15,90},size={80,20},proc=Draw3D_MainButtonProc,title="3D Display"
382        Button MainButton_4a,help={"Plots a 3-D surface of the selected file type"}
383        Button MainButton_4b,pos={15,120},size={120,20},proc=ShowSchematic_MainButtonProc,title="Show Schematic"
384        Button MainButton_4b,help={"Use this to show a schematic of the data reduction process for a selected sample file and reduction protocol"}
385        Button MainButton_4c,pos={15,150},size={80,20},proc=ShowAvePanel_MainButtonProc,title="Average"
386        Button MainButton_4c,help={"Shows a panel for interactive selection of the 1-D averaging step"}
387        Button MainButton_4d,pos={15,180},size={110,20},proc=CatShort_MainButtonProc,title="CAT/Notebook"
388        Button MainButton_4d,help={"This will generate a CATalog notebook of all files in a specified local folder"}
389        Button MainButton_4e,pos={180,90},size={130,20},proc=NG1TransConv_MainButtonProc,title="NG1 Files to Trans"
390        Button MainButton_4e,help={"Converts NG1 transmission data files to be interpreted as such"}
391        Button MainButton_4f,pos={180,120},size={130,20},proc=PRODIV_MainButtonProc,title="Make DIV file"
392        Button MainButton_4f,help={"Merges two stored workfiles (CORrected) into a DIV file, and saves the result"}
393        Button MainButton_4g,pos={180,150},size={130,20},proc=Raw2ASCII_MainButtonProc,title="RAW ASCII Export"
394        Button MainButton_4g,help={"Exports selected RAW (2D) data file(s) as ASCII, either as pixel values or I(Qx,Qy)"}
395        Button MainButton_4h,pos={180,180},size={130,20},proc=Preferences_MainButtonProc,title="Preferences"
396        Button MainButton_4h,help={"Sets user preferences for selected parameters"}
397       
398        Button MainButton_4a,disable=1
399        Button MainButton_4b,disable=1
400        Button MainButton_4c,disable=1
401        Button MainButton_4d,disable=1
402        Button MainButton_4e,disable=1
403        Button MainButton_4f,disable=1
404        Button MainButton_4g,disable=1
405        Button MainButton_4h,disable=1
406//     
407EndMacro
408
409// function to control the drawing of buttons in the TabControl on the main panel
410// Naming scheme for the buttons MUST be strictly adhered to... else buttons will
411// appear in odd places...
412// all buttons are named MainButton_NA where N is the tab number and A is the letter denoting
413// the button's position on that particular tab.
414// in this way, buttons will always be drawn correctly..
415//
416Function MainTabProc(name,tab)
417        String name
418        Variable tab
419       
420//      Print "name,number",name,tab
421        String ctrlList = ControlNameList("",";"),item="",nameStr=""
422        Variable num = ItemsinList(ctrlList,";"),ii,onTab
423        for(ii=0;ii<num;ii+=1)
424                //items all start w/"MainButton_"
425                item=StringFromList(ii, ctrlList ,";")
426                nameStr=item[0,10]
427                if(cmpstr(nameStr,"MainButton_")==0)
428                        onTab = str2num(item[11])
429                        Button $item,disable=(tab!=onTab)
430                endif
431        endfor
432End
433
434//
435Function SR_OpenTracTicketPage(ctrlName)
436        String ctrlName
437        DoAlert 1,"Your web browser will open to a page where you can submit your bug report or feature request. OK?"
438        if(V_flag==1)
439                BrowseURL "http://danse.chem.utk.edu/trac/newticket"
440        endif
441End
442
443//********************************
444//************* OLD version of Main Panel *************
445//Window Main_Panel()
446Window OLD_Main_Panel()
447        PauseUpdate; Silent 1           // building window...
448        NewPanel /K=2 /W=(630,75,938,408) as "SANS Reduction Controls"
449        ModifyPanel cbRGB=(52428,52425,1)
450        ModifyPanel fixedSize=1
451        SetDrawLayer UserBack
452        SetDrawEnv fillfgc= (24672,51914,36494)
453        DrawRect 2,250,303,325
454        SetDrawEnv fillfgc= (24672,51914,36494)
455        DrawRect 2,243,186,194
456        SetDrawEnv fillfgc= (24672,51914,36494)
457        DrawRect 2,140,303,189
458        SetDrawEnv fillfgc= (24672,51914,36494)
459        DrawRect 2,59,303,133
460        SetDrawEnv fillfgc= (24672,51914,36494)
461        DrawRect 2,2,303,53
462        SetDrawEnv fstyle= 5
463        DrawText 6,20,"Raw Data Operations"
464        SetDrawEnv fstyle= 5
465        DrawText 6,79,"Data Reduction Operations"
466        SetDrawEnv fstyle= 5
467        DrawText 6,158,"1-D Data Operations"
468        SetDrawEnv fstyle= 5
469        DrawText 6,212,"Intermediate 2-D Files"
470        SetDrawEnv fstyle= 5
471        DrawText 6,268,"Miscellaneous"
472        SetDrawEnv fillfgc= (24672,51914,36494)
473        DrawRect 190,194,303,242
474        SetDrawEnv fstyle= 5
475        DrawText 200,211,"Data Folder"
476        Button MainButton_0,pos={6,25},size={70,20},proc=DisplayMainButtonProc,title="Display"
477        Button MainButton_0,help={"Display will load and plot a single 2-D raw data file"}
478        Button MainButton_1,pos={86,25},size={70,20},proc=PatchMainButtonProc,title="Patch"
479        Button MainButton_1,help={"Patch will update incorrect information in raw data headers"}
480        Button MainButton_2,pos={166,25},size={110,20},proc=TransMainButtonProc,title="Transmission"
481        Button MainButton_2,help={"Shows the \"Patch\" panel which allows calculation of sample transmissions and entering these values into raw data headers"}
482        Button MainButton_3,pos={6,82},size={110,20},proc=BuildProtocol_MainButtonProc,title="Build Protocol"
483        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"}
484        Button MainButton_4,pos={147,82},size={110,20},proc=ReduceAFile_MainButtonProc,title="Reduce a File"
485        Button MainButton_4,help={"Presents a questionnare for creating a reduction protocol, then reduces a single file"}
486        Button MainButton_5,pos={6,107},size={160,20},proc=ReduceMultiple_MainButtonProc,title="Reduce Multiple Files"
487        Button MainButton_5,help={"Use for reducing multiple raw datasets after protocol(s) have been created"}
488
489        Button MainButton_19,pos={175,107},size={80,20},title="Draw Mask",proc=DrawMask_MainButtonProc
490        Button MainButton_19,help={"Draw a mask file and save it."}
491       
492        Button MainButton_6,pos={6,162},size={60,20},proc=Plot1D_MainButtonProc,title="Plot"
493        Button MainButton_6,help={"Loads and plots a 1-D dataset in the format expected by \"Sort\" and \"FIT\""}
494        Button MainButton_7,pos={77,162},size={60,20},proc=Sort1D_MainButtonProc,title="Sort"
495        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"}
496        Button MainButton_8,pos={147,162},size={60,20},proc=Fit1D_MainButtonProc,title="FIT"
497        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"}
498
499        Button MainButton_17,pos={217,162},size={60,20},proc=FITRPA_MainButtonProc,title="FIT/RPA"
500        Button MainButton_17,help={"Shows panel for performing a fit to a polymer standard."}
501
502        Button MainButton_9,pos={6,216},size={70,20},proc=DisplayInterm_MainButtonProc,title="Display"
503        Button MainButton_9,help={"Display will plot a 2-D work data file that has previously been created during data reduction"}
504        Button MainButton_10,pos={89,216},size={90,20},proc=ReadMask_MainButtonProc,title="Read Mask"
505        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"}
506        Button MainButton_11,pos={6,298},size={80,20},proc=Draw3D_MainButtonProc,title="3D Display"
507        Button MainButton_11,help={"Plots a 3-D surface of the selected file type"}
508        Button MainButton_12,pos={6,273},size={90,20},proc=CatShort_MainButtonProc,title="CAT/SHORT"
509        Button MainButton_12,help={"This will generate a CATalog window of all files in a specified local folder"}
510
511        Button MainButton_18,pos={106,273},size={90,20},proc=CatVShort_MainButtonProc,title="CAT/VShort"
512        Button MainButton_18,help={"This will generate a condensed CATalog table of all files in a specified local folder"}
513
514        Button MainButton_13,pos={206,273},size={90,20},proc=ShowCatShort_MainButtonProc,title="Show CAT"
515        Button MainButton_13,help={"This button will bring the CATalog window to the front, if it exists"}
516        Button MainButton_14,pos={96,298},size={110,20},proc=ShowSchematic_MainButtonProc,title="Show Schematic"
517        Button MainButton_14,help={"Use this to show a schematic of the data reduction process for a selected sample file and reduction protocol"}
518        Button MainButton_15,pos={216,298},size={80,20},proc=ShowAvePanel_MainButtonProc,title="Average"
519        Button MainButton_15,help={"Shows a panel for interactive selection of the 1-D averaging step"}
520        Button MainButton_16,pos={200,214},size={80,20},title="Pick Path",proc=PickPath_MainButtonProc
521        Button MainButton_16,help={"Pick the local data folder that contains the SANS data"}
522       
523EndMacro
524//****************above is OLD********************
Note: See TracBrowser for help on using the repository browser.