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

Last change on this file since 1243 was 1243, checked in by srkline, 2 years ago

added some test procedures to make it easier to calculate and patch the corrected beam center to a series of files. This new method can be found under the VSANS menu.

Changed the mask drawing objects to be semi-transparent to allow easier masking of bad spots - since you can see what you're doing now.

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