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

Last change on this file since 971 was 971, checked in by srkline, 7 years ago

Filling in missing "dummy" functions when XML xop is not present.

Added new V_ procedures for the beginning of the reduction steps - initialization, main panel, preferences, and a menu. These are lifted directly from the SANS routines and much still needs to be modified.

  • Property svn:executable set to *
File size: 2.2 KB
RevLine 
[971]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        "VCALC",VCALC_Panel()
19        "-"
20        Submenu "In Progress Panels"
21                "VSANS Preferences",Show_VSANSPreferences_Panel()
22               
23        End
24End
25
26
27
28//
29Menu "SANS"
30        "Initialize"
31        "SANS Help"
32        "-"
33        "Main Control Panel",DoWindow/F Main_Panel
34        "SASCALC"
35        "-"
36        Submenu "Data Display"
37                "Show 2D SANS Data",DoWindow/F SANS_Data
38                "Show File Table",ShowCatWindow()
39        End
40        Submenu "Input Panels"
41                "Calculate Transmissions",CalcTrans()
42                "Build Reduction Protocols",ReductionProtocolPanel()
43                "Reduce Multiple Files",ReduceMultipleFiles()
44                "Patch Files",PatchFiles()
45                "1D Average",ShowAveragePanel()         
46        End
47        Submenu "1-D Processing"
48                "Load and Plot 1D Data",Show_Plot_Manager()
49                "Open FIT Panel",OpenFITPanel()
50                "Sort and Combine data",ShowNSORTPanel()
51//              "Subtract 1D Data Sets",OpenSubtract1DPanel()
52                "ReWrite Experimental Data",MakeDMPanel()               //,ReWrite1DData()      // SRK SEP10
53                "1D Arithmetic Panel",MakeDAPanel()
54                "ReBin 1D Data",OpenRebin()
55        End
56        Submenu "2-D Processing"
57                "2D Work file Math",Show_WorkMath_Panel()
58                "Tile Raw 2D files",Show_Tile_2D_Panel()
59                "Export 2D ASCII data",Export_RAW_Ascii_Panel()
60                "Bin QxQy Data to 1D",BinQxQy_to_1D()
61        End
62        Submenu "Event Processing"
63                "Event Mode Process Panel",Show_Event_Panel()
64                "Adjust Events",ShowEventCorrectionPanel()
65                "Create Custom Bins",Show_CustomBinPanel()
66                "-"
67                "Split Large File",SplitBigFile()
68                "Accumulate First Slice",AccumulateSlices(0)
69                "Add Current Slice",AccumulateSlices(1)
70                "Display Accumulated Slices",AccumulateSlices(2)       
71        End
72        "-"
73        "NCNR Preferences",Show_Preferences_Panel()
74        "Feedback or Bug Report",OpenTracTicketPage()
75        "Open Help Movie Page",OpenHelpMoviePage()
76        "Check for Updates",CheckForLatestVersion()
77//      Submenu "Utility Routines"
78//              "Clear Work Folders"
79//              "Clear Root Folder"
80//      End
81End
82
83Function VSANSHelp()
84        DisplayHelpTopic/Z/K=1 "VSANS Data Reduction Tutorial"
85        if(V_flag !=0)
86                DoAlert 0,"The VSANS Data Reduction Tutorial Help file could not be found, because it has not yet been written"
87        endif
88End
Note: See TracBrowser for help on using the repository browser.