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

Last change on this file since 1239 was 1239, checked in by srkline, 3 years ago

adding downstream window transmission correction -- added function to detector corrections, and added item to preference panel. Transmission value is currently set as a global since the value is not part of the VSANS header. Global value defaults to T=1= no correction.

Other changes are cleanup of TODO items that were already done and tested. inline commnents have been updated.

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