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

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

a few bug fixes

added menu options to apply the median filter and/or the read noise subtraction to the raw data for troubleshooting/simple analysis rather than needing to convert to normalized WORK data.

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