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

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

a lot of little changes:

changed the name of the Raw Data display procedure file (removed test)

lots of bug fixes, moving items from the macros menu to proper locations, getting the file status to display properly, some error checking, and cleaning up a few TODO items.

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