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

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

New dimensions added for the back detector. many functions neede to be updated to accomodate these changes. Beam center is handled in the same way (in cm, not pixels) as other panels even though this panel is like the 2D detectors on SANS.

Still missing is the real values for caibration, pixel size, dead time, etc. that are yet to be measured.

  • 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// 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                "Mark Lateral Flip Done",V_MarkLeftRightFlip_Done()
52                "Mark Lateral Flip NOT Done",V_MarkLeftRightFlip_Not_Done()
53                "-"
54                "Patch GroupID using CatTable",V_Patch_GroupID_catTable()
55                "Patch Purpose using CatTable",V_Patch_Purpose_catTable()
56                "Patch Intent using CatTable",V_Patch_Intent_catTable()
57                "Patch Detector Panel Gap",V_PatchDet_Gap()
58                "Read Detetcor Panel Gap",V_ReadDet_Gap()
59                "Patch Detector Distance",V_PatchDet_Distance()
60                "Patch Back Detector Values",V_Patch_Back_Detector()
61                "-"
62                "Setup_VSANS_DIV_Struct"
63                "Save_VSANS_DIV_Nexus"
64                "Setup_VSANS_MASK_Struct"
65                "Save_VSANS_MASK_Nexus"
66                "-"
67                "Read_Nexus with attributes",Read_Nexus_Xref()          //this will read with attributes
68                "Write_Nexus with attributes",Write_Nexus_Xref()                                //this will write out with attributes if read in by Read_Nexus_Xref
69                "-"
70                "Dump_V_getFP"
71                "Dump_V_getFP_Det"
72                "Dump_V_getSTR"
73                "Dump_V_getSTR_Det"
74        End
75       
76End
77
78
79//
80xMenu "SANS"
81        "Initialize"
82        "SANS Help"
83        "-"
84        "Main Control Panel",DoWindow/F Main_Panel
85        "SASCALC"
86        "-"
87        Submenu "Data Display"
88                "Show 2D SANS Data",DoWindow/F SANS_Data
89                "Show File Table",ShowCatWindow()
90        End
91        Submenu "Input Panels"
92                "Calculate Transmissions",CalcTrans()
93                "Build Reduction Protocols",ReductionProtocolPanel()
94                "Reduce Multiple Files",ReduceMultipleFiles()
95                "Patch Files",PatchFiles()
96                "1D Average",ShowAveragePanel()         
97        End
98        Submenu "1-D Processing"
99                "Load and Plot 1D Data",Show_Plot_Manager()
100                "Open FIT Panel",OpenFITPanel()
101                "Sort and Combine data",ShowNSORTPanel()
102//              "Subtract 1D Data Sets",OpenSubtract1DPanel()
103                "ReWrite Experimental Data",MakeDMPanel()               //,ReWrite1DData()      // SRK SEP10
104                "1D Arithmetic Panel",MakeDAPanel()
105                "ReBin 1D Data",OpenRebin()
106        End
107        Submenu "2-D Processing"
108                "2D Work file Math",Show_WorkMath_Panel()
109                "Tile Raw 2D files",Show_Tile_2D_Panel()
110                "Export 2D ASCII data",Export_RAW_Ascii_Panel()
111                "Bin QxQy Data to 1D",BinQxQy_to_1D()
112        End
113        Submenu "Event Processing"
114                "Event Mode Process Panel",Show_Event_Panel()
115                "Adjust Events",ShowEventCorrectionPanel()
116                "Create Custom Bins",Show_CustomBinPanel()
117                "-"
118                "Split Large File",SplitBigFile()
119                "Accumulate First Slice",AccumulateSlices(0)
120                "Add Current Slice",AccumulateSlices(1)
121                "Display Accumulated Slices",AccumulateSlices(2)       
122        End
123        "-"
124        "NCNR Preferences",Show_Preferences_Panel()
125        "Feedback or Bug Report",OpenTracTicketPage()
126        "Open Help Movie Page",OpenHelpMoviePage()
127        "Check for Updates",CheckForLatestVersion()
128//      Submenu "Utility Routines"
129//              "Clear Work Folders"
130//              "Clear Root Folder"
131//      End
132End
133
134Function VSANSHelp()
135        DisplayHelpTopic/Z/K=1 "VSANS Data Reduction Tutorial"
136        if(V_flag !=0)
137                DoAlert 0,"The VSANS Data Reduction Tutorial Help file could not be found, because it has not yet been written"
138        endif
139End
Note: See TracBrowser for help on using the repository browser.