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 "VSANS" |
---|
14 | "Initialize",Initialize_VSANS() |
---|
15 | "VSANS Help" |
---|
16 | "-" |
---|
17 | "Main Control Panel",DoWindow/F Main_VSANS_Panel |
---|
18 | "Data Display",DoWindow/F VSANS_Data |
---|
19 | "VCALC",VCALC_Panel() |
---|
20 | "-" |
---|
21 | Submenu "In Progress Panels" |
---|
22 | "VSANS Preferences",Show_VSANSPreferences_Panel() |
---|
23 | "Beam Center Panel",V_FindBeamCenter() |
---|
24 | "Patch Beam Center XY",V_PatchDet_xyCenters_Panel() |
---|
25 | "Patch Detector Deadtime",V_PatchDetectorDeadtimePanel() |
---|
26 | "Patch Detector Calibration",V_PatchDetectorCalibrationPanel() |
---|
27 | "-" |
---|
28 | "Annular Binning",Annular_Binning() |
---|
29 | "Write Annular Data",V_Write1DAnnular() |
---|
30 | End |
---|
31 | Submenu "Work Files" |
---|
32 | "Convert to WORK",V_Convert_to_Workfile() |
---|
33 | "Load Fake DIV Data" |
---|
34 | "DIV a work file",V_DIV_a_Workfile() |
---|
35 | "Load Fake MASK Data" |
---|
36 | "Correct Data",V_CorrectData() |
---|
37 | End |
---|
38 | SubMenu "Nexus File RW" |
---|
39 | // "Fill_Nexus_V_Template" |
---|
40 | // "Save_Nexus_V_Template" |
---|
41 | // "Load_Nexus_V_Template" |
---|
42 | // "-" |
---|
43 | // "IgorOnly_Setup_VSANS_Struct" |
---|
44 | // "IgorOnly_Save_VSANS_Nexus" |
---|
45 | // "IgorOnly_Setup_SANS_Struct" |
---|
46 | // "IgorOnly_Save_SANS_Struct" |
---|
47 | "Copy_VCALC_to_VSANSFile",Copy_VCALC_to_VSANSFile() |
---|
48 | "-" |
---|
49 | "Setup_VSANS_DIV_Struct" |
---|
50 | "Save_VSANS_DIV_Nexus" |
---|
51 | "Setup_VSANS_MASK_Struct" |
---|
52 | "Save_VSANS_MASK_Nexus" |
---|
53 | "-" |
---|
54 | "Read_Nexus with attributes",Read_Nexus_Xref() //this will read with attributes |
---|
55 | "Write_Nexus with attributes",Write_Nexus_Xref() //this will write out with attributes if read in by Read_Nexus_Xref |
---|
56 | "-" |
---|
57 | "Dump_V_getFP" |
---|
58 | "Dump_V_getFP_Det" |
---|
59 | "Dump_V_getSTR" |
---|
60 | "Dump_V_getSTR_Det" |
---|
61 | End |
---|
62 | |
---|
63 | End |
---|
64 | |
---|
65 | |
---|
66 | // |
---|
67 | Menu "SANS" |
---|
68 | "Initialize" |
---|
69 | "SANS Help" |
---|
70 | "-" |
---|
71 | "Main Control Panel",DoWindow/F Main_Panel |
---|
72 | "SASCALC" |
---|
73 | "-" |
---|
74 | Submenu "Data Display" |
---|
75 | "Show 2D SANS Data",DoWindow/F SANS_Data |
---|
76 | "Show File Table",ShowCatWindow() |
---|
77 | End |
---|
78 | Submenu "Input Panels" |
---|
79 | "Calculate Transmissions",CalcTrans() |
---|
80 | "Build Reduction Protocols",ReductionProtocolPanel() |
---|
81 | "Reduce Multiple Files",ReduceMultipleFiles() |
---|
82 | "Patch Files",PatchFiles() |
---|
83 | "1D Average",ShowAveragePanel() |
---|
84 | End |
---|
85 | Submenu "1-D Processing" |
---|
86 | "Load and Plot 1D Data",Show_Plot_Manager() |
---|
87 | "Open FIT Panel",OpenFITPanel() |
---|
88 | "Sort and Combine data",ShowNSORTPanel() |
---|
89 | // "Subtract 1D Data Sets",OpenSubtract1DPanel() |
---|
90 | "ReWrite Experimental Data",MakeDMPanel() //,ReWrite1DData() // SRK SEP10 |
---|
91 | "1D Arithmetic Panel",MakeDAPanel() |
---|
92 | "ReBin 1D Data",OpenRebin() |
---|
93 | End |
---|
94 | Submenu "2-D Processing" |
---|
95 | "2D Work file Math",Show_WorkMath_Panel() |
---|
96 | "Tile Raw 2D files",Show_Tile_2D_Panel() |
---|
97 | "Export 2D ASCII data",Export_RAW_Ascii_Panel() |
---|
98 | "Bin QxQy Data to 1D",BinQxQy_to_1D() |
---|
99 | End |
---|
100 | Submenu "Event Processing" |
---|
101 | "Event Mode Process Panel",Show_Event_Panel() |
---|
102 | "Adjust Events",ShowEventCorrectionPanel() |
---|
103 | "Create Custom Bins",Show_CustomBinPanel() |
---|
104 | "-" |
---|
105 | "Split Large File",SplitBigFile() |
---|
106 | "Accumulate First Slice",AccumulateSlices(0) |
---|
107 | "Add Current Slice",AccumulateSlices(1) |
---|
108 | "Display Accumulated Slices",AccumulateSlices(2) |
---|
109 | End |
---|
110 | "-" |
---|
111 | "NCNR Preferences",Show_Preferences_Panel() |
---|
112 | "Feedback or Bug Report",OpenTracTicketPage() |
---|
113 | "Open Help Movie Page",OpenHelpMoviePage() |
---|
114 | "Check for Updates",CheckForLatestVersion() |
---|
115 | // Submenu "Utility Routines" |
---|
116 | // "Clear Work Folders" |
---|
117 | // "Clear Root Folder" |
---|
118 | // End |
---|
119 | End |
---|
120 | |
---|
121 | Function VSANSHelp() |
---|
122 | DisplayHelpTopic/Z/K=1 "VSANS Data Reduction Tutorial" |
---|
123 | if(V_flag !=0) |
---|
124 | DoAlert 0,"The VSANS Data Reduction Tutorial Help file could not be found, because it has not yet been written" |
---|
125 | endif |
---|
126 | End |
---|