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

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

adding patch procedure to adjust the number of attenuators - which may have been incorrect for one of Yun's experiments.

Adding updated beam center offsets for the Front carriage. These values are fitted to the AgBeh? arcs, and should be an improvement. Similar values were derived for the graphite monchromator. Separate procedures are necessary for the graphite vs. Velocity selector since the beam axis is shifted when the graphite is in place. These new graphite values are also included.

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