source: sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Menu.ipf @ 1108

Last change on this file since 1108 was 1108, checked in by srkline, 4 years ago

changes mostly to VCALC to add in what bits of information I have about the instrument dimensions. Added in stubs (based on NG3 SANS) for the beam intensity. Added in a preset condition for Front+Middle. Still need a more uniform way to do this.

  • Property svn:executable set to *
File size: 4.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
7//
8//****************************
9//
10
11
12Menu "VSANS"
13        "Initialize",Initialize_VSANS()
14        "VSANS Help"
15        "-"
16        "Main Control Panel",DoWindow/F Main_VSANS_Panel
17        "Data Display",DoWindow/F VSANS_Data
18        "VCALC",VCALC_Panel()
19        "VSANS Preferences",Show_VSANSPreferences_Panel()
20        "-"
21        Submenu "Data Panels"
22                "Patch Beam Center XY",V_PatchDet_xyCenters_Panel()
23                "Patch Detector Deadtime",V_PatchDetectorDeadtimePanel()
24                "Patch Detector Calibration",V_PatchDetectorCalibrationPanel()
25                "-"
26                "Annular Binning",Annular_Binning()
27                "Write Annular Data",V_Write1DAnnular()
28                "Trim I(q) points",V_CombineDataGraph()
29                "-"
30                "Derive Beam Centers",V_DeriveBeamCenters()
31                "-"
32                "Back Detector Saturation",Vm_NumberSaturated()
33        End
34        SubMenu "Nexus File Corrections"
35                "Patch GroupID using CatTable",V_Patch_GroupID_catTable()
36                "Patch Purpose using CatTable",V_Patch_Purpose_catTable()
37                "Patch Intent using CatTable",V_Patch_Intent_catTable()
38                "-"
39                "Flip Lateral Offset",V_PatchDet_Offset()
40                "Mark Lateral Flip Done",V_MarkLeftRightFlip_Done()
41                "Mark Lateral Flip NOT Done",V_MarkLeftRightFlip_Not_Done()
42                "Patch Detector Panel Gap",V_PatchDet_Gap()
43                "Read Detetcor Panel Gap",V_ReadDet_Gap()
44                "Patch Detector Distance",V_PatchDet_Distance()
45                "-"
46                "Patch Back Detector Values",V_Patch_Back_Detector()
47        End
48        SubMenu "File Tests"
49                "Copy_VCALC_to_VSANSFile",Copy_VCALC_to_VSANSFile()
50                "-"
51                "Read_Nexus with attributes",Read_Nexus_Xref()          //this will read with attributes
52                "Write_Nexus with attributes",Write_Nexus_Xref()                                //this will write out with attributes if read in by Read_Nexus_Xref
53                "-"
54                "Beam Center Panel",V_FindBeamCenter()
55                "Save I(Q) as ITX",Vm_Write1DData_ITX()
56                //
57//              "Setup_VSANS_DIV_Struct"
58//              "Save_VSANS_DIV_Nexus"
59//              "Setup_VSANS_MASK_Struct"
60//              "Save_VSANS_MASK_Nexus"
61//              "-"
62//              "Dump_V_getFP"
63//              "Dump_V_getFP_Det"
64//              "Dump_V_getSTR"
65//              "Dump_V_getSTR_Det"
66//              "Fill_Nexus_V_Template"
67//              "Save_Nexus_V_Template"
68//              "Load_Nexus_V_Template"
69//              "-"
70//              "IgorOnly_Setup_VSANS_Struct"
71//              "IgorOnly_Save_VSANS_Nexus"
72//              "IgorOnly_Setup_SANS_Struct"
73//              "IgorOnly_Save_SANS_Struct"
74        End
75//      Submenu "Work File Operations"
76//              "Convert to WORK",V_Convert_to_Workfile()
77//              "Load Fake DIV Data"
78//              "DIV a work file",V_DIV_a_Workfile()
79//              "Load Fake MASK Data"
80//              "Correct Data",V_CorrectData()
81//      End
82End
83
84
85//
86xMenu "SANS"
87        "Initialize"
88        "SANS Help"
89        "-"
90        "Main Control Panel",DoWindow/F Main_Panel
91        "SASCALC"
92        "-"
93        Submenu "Data Display"
94                "Show 2D SANS Data",DoWindow/F SANS_Data
95                "Show File Table",ShowCatWindow()
96        End
97        Submenu "Input Panels"
98                "Calculate Transmissions",CalcTrans()
99                "Build Reduction Protocols",ReductionProtocolPanel()
100                "Reduce Multiple Files",ReduceMultipleFiles()
101                "Patch Files",PatchFiles()
102                "1D Average",ShowAveragePanel()         
103        End
104        Submenu "1-D Processing"
105                "Load and Plot 1D Data",Show_Plot_Manager()
106                "Open FIT Panel",OpenFITPanel()
107                "Sort and Combine data",ShowNSORTPanel()
108//              "Subtract 1D Data Sets",OpenSubtract1DPanel()
109                "ReWrite Experimental Data",MakeDMPanel()               //,ReWrite1DData()      // SRK SEP10
110                "1D Arithmetic Panel",MakeDAPanel()
111                "ReBin 1D Data",OpenRebin()
112        End
113        Submenu "2-D Processing"
114                "2D Work file Math",Show_WorkMath_Panel()
115                "Tile Raw 2D files",Show_Tile_2D_Panel()
116                "Export 2D ASCII data",Export_RAW_Ascii_Panel()
117                "Bin QxQy Data to 1D",BinQxQy_to_1D()
118        End
119        Submenu "Event Processing"
120                "Event Mode Process Panel",Show_Event_Panel()
121                "Adjust Events",ShowEventCorrectionPanel()
122                "Create Custom Bins",Show_CustomBinPanel()
123                "-"
124                "Split Large File",SplitBigFile()
125                "Accumulate First Slice",AccumulateSlices(0)
126                "Add Current Slice",AccumulateSlices(1)
127                "Display Accumulated Slices",AccumulateSlices(2)       
128        End
129        "-"
130        "NCNR Preferences",Show_Preferences_Panel()
131        "Feedback or Bug Report",OpenTracTicketPage()
132        "Open Help Movie Page",OpenHelpMoviePage()
133        "Check for Updates",CheckForLatestVersion()
134//      Submenu "Utility Routines"
135//              "Clear Work Folders"
136//              "Clear Root Folder"
137//      End
138End
139
140Function VSANSHelp()
141        DisplayHelpTopic/Z/K=1 "VSANS Data Reduction Tutorial"
142        if(V_flag !=0)
143                DoAlert 0,"The VSANS Data Reduction Tutorial Help file could not be found, because it has not yet been written"
144        endif
145End
Note: See TracBrowser for help on using the repository browser.