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

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

Added two model functions for white beam smearing.

Many other small changes for processing of the back detector, shuffling of VSANS menu items, and consistent naming of V_ procedures.

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