1 | #pragma rtGlobals=1 // Use modern global access method. |
---|
2 | #pragma version=5.0 |
---|
3 | #pragma IgorVersion=6.1 |
---|
4 | |
---|
5 | |
---|
6 | //************************** |
---|
7 | // Vers 1.2 091901 |
---|
8 | // |
---|
9 | //**************************** |
---|
10 | // |
---|
11 | |
---|
12 | // |
---|
13 | Menu "SANS" |
---|
14 | "Initialize" |
---|
15 | "SANS Help" |
---|
16 | "-" |
---|
17 | "Main Control Panel",DoWindow/F Main_Panel |
---|
18 | "SASCALC" |
---|
19 | "-" |
---|
20 | Submenu "Data Display" |
---|
21 | "Show 2D SANS Data",DoWindow/F SANS_Data |
---|
22 | "Show File Table",ShowCatWindow() |
---|
23 | End |
---|
24 | Submenu "Input Panels" |
---|
25 | "Calculate Transmissions",CalcTrans() |
---|
26 | "Build Reduction Protocols",ReductionProtocolPanel() |
---|
27 | "Reduce Multiple Files",ReduceMultipleFiles() |
---|
28 | "Patch Files",PatchFiles() |
---|
29 | "1D Average",ShowAveragePanel() |
---|
30 | End |
---|
31 | Submenu "1-D Processing" |
---|
32 | "Load and Plot 1D Data",Show_Plot_Manager() |
---|
33 | "Open FIT Panel",OpenFITPanel() |
---|
34 | "Sort and Combine data",ShowNSORTPanel() |
---|
35 | // "Subtract 1D Data Sets",OpenSubtract1DPanel() |
---|
36 | "ReWrite Experimental Data",MakeDMPanel() //,ReWrite1DData() // SRK SEP10 |
---|
37 | "1D Arithmetic Panel",MakeDAPanel() |
---|
38 | "ReBin 1D Data",OpenRebin() |
---|
39 | End |
---|
40 | Submenu "2-D Processing" |
---|
41 | "2D Work file Math",Show_WorkMath_Panel() |
---|
42 | "Tile Raw 2D files",Show_Tile_2D_Panel() |
---|
43 | "Export 2D ASCII data",Export_RAW_Ascii_Panel() |
---|
44 | "Bin QxQy Data to 1D",BinQxQy_to_1D() |
---|
45 | End |
---|
46 | Submenu "Event Processing" |
---|
47 | "Event Mode Process Panel",Show_Event_Panel() |
---|
48 | "Adjust Events",ShowEventCorrectionPanel() |
---|
49 | "Create Custom Bins",Show_CustomBinPanel() |
---|
50 | "-" |
---|
51 | "Split Large File",SplitBigFile() |
---|
52 | "Get List of ITX or Split Files",GetListofITXorSplitFiles() |
---|
53 | "Accumulate First Slice",AccumulateSlices(0) |
---|
54 | "Add Current Slice",AccumulateSlices(1) |
---|
55 | "Display Accumulated Slices",AccumulateSlices(2) |
---|
56 | End |
---|
57 | "-" |
---|
58 | "NCNR Preferences",Show_Preferences_Panel() |
---|
59 | "Feedback or Bug Report",OpenTracTicketPage() |
---|
60 | "Open Help Movie Page",OpenHelpMoviePage() |
---|
61 | "Check for Updates",CheckForLatestVersion() |
---|
62 | // Submenu "Utility Routines" |
---|
63 | // "Clear Work Folders" |
---|
64 | // "Clear Root Folder" |
---|
65 | // End |
---|
66 | End |
---|
67 | |
---|
68 | Function SANSHelp() |
---|
69 | DisplayHelpTopic/Z/K=1 "SANS Data Reduction Tutorial" |
---|
70 | if(V_flag !=0) |
---|
71 | DoAlert 0,"The SANS Data Reduction Tutorial Help file could not be found" |
---|
72 | endif |
---|
73 | End |
---|