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

Last change on this file since 1083 was 1083, checked in by srkline, 5 years ago

minor changes to allow patching of more incorrect metadata

added simple way to estimate beam centers from a single measurement (stiil to be thoroughly verified!)

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