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

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

corrected compiling issue with version 7.87

Fixed logic in defining sector mask
Added mask for Annular average

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