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

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

minor changes - can't find the diff command in TortoiseSVN...

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