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

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

Updated help file for VSANS. Graphics were not PNG.

Removed HFIR SANS package since if requires XML XOP - no longer supported.

Improved quality of graphics export for Analysis reports.

Added more support for super_white_beam mode on VSANS

Corrected printf bug (Igor 8) when printing out % sign

Added utilities for patching wavelength and monochromator type on VSANS since the type is still not written out correctly by NICE, and super_white_beam is not yet defined in NICE

Adjusted panel dimensions for the temperature sensor display on VSANS (needed onWindows)

  • 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",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",V_Patch_XYPixelSize()
52                "Patch Wavelength",V_Patch_Wavelength()
53                "Patch Monochromator Type",V_Patch_MonochromatorType()
54                "-"
55                "Patch Back Detector Values",V_Patch_Back_Detector()
56                "Patch NumberOfGuides_SSD_Aperture ",V_Patch_Guide_SSD_Aperture()
57                "Patch Beam Stop",V_Patch_BeamStop()
58                "Patch Sample Aperture",V_Patch_SampleAperture2()
59        End
60        SubMenu "File Tests"
61                "Load High Res Read Noise Data"
62                "-"
63                "Copy_VCALC_to_VSANSFile",Copy_VCALC_to_VSANSFile()
64                "-"
65                "Read_Nexus with attributes",Read_Nexus_Xref()          //this will read with attributes
66                "Write_Nexus with attributes",Write_Nexus_Xref()                                //this will write out with attributes if read in by Read_Nexus_Xref
67                "-"
68                "Beam Center Panel",V_FindBeamCenter()
69                "Save I(Q) as ITX",Vm_Write1DData_ITX()
70                //
71//              "Setup_VSANS_DIV_Struct"
72//              "Save_VSANS_DIV_Nexus"
73//              "Setup_VSANS_MASK_Struct"
74//              "Save_VSANS_MASK_Nexus"
75//              "-"
76//              "Dump_V_getFP"
77//              "Dump_V_getFP_Det"
78//              "Dump_V_getSTR"
79//              "Dump_V_getSTR_Det"
80//              "Fill_Nexus_V_Template"
81//              "Save_Nexus_V_Template"
82//              "Load_Nexus_V_Template"
83//              "-"
84//              "IgorOnly_Setup_VSANS_Struct"
85//              "IgorOnly_Save_VSANS_Nexus"
86//              "IgorOnly_Setup_SANS_Struct"
87//              "IgorOnly_Save_SANS_Struct"
88        End
89//      Submenu "Work File Operations"
90//              "Convert to WORK",V_Convert_to_Workfile()
91//              "Load Fake DIV Data"
92//              "DIV a work file",V_DIV_a_Workfile()
93//              "Load Fake MASK Data"
94//              "Correct Data",V_CorrectData()
95//      End
96End
97
98
99//
100xMenu "SANS"
101        "Initialize"
102        "SANS Help"
103        "-"
104        "Main Control Panel",DoWindow/F Main_Panel
105        "SASCALC"
106        "-"
107        Submenu "Data Display"
108                "Show 2D SANS Data",DoWindow/F SANS_Data
109                "Show File Table",ShowCatWindow()
110        End
111        Submenu "Input Panels"
112                "Calculate Transmissions",CalcTrans()
113                "Build Reduction Protocols",ReductionProtocolPanel()
114                "Reduce Multiple Files",ReduceMultipleFiles()
115                "Patch Files",PatchFiles()
116                "1D Average",ShowAveragePanel()         
117        End
118        Submenu "1-D Processing"
119                "Load and Plot 1D Data",Show_Plot_Manager()
120                "Open FIT Panel",OpenFITPanel()
121                "Sort and Combine data",ShowNSORTPanel()
122//              "Subtract 1D Data Sets",OpenSubtract1DPanel()
123                "ReWrite Experimental Data",MakeDMPanel()               //,ReWrite1DData()      // SRK SEP10
124                "1D Arithmetic Panel",MakeDAPanel()
125                "ReBin 1D Data",OpenRebin()
126        End
127        Submenu "2-D Processing"
128                "2D Work file Math",Show_WorkMath_Panel()
129                "Tile Raw 2D files",Show_Tile_2D_Panel()
130                "Export 2D ASCII data",Export_RAW_Ascii_Panel()
131                "Bin QxQy Data to 1D",BinQxQy_to_1D()
132        End
133        Submenu "Event Processing"
134                "Event Mode Process Panel",Show_Event_Panel()
135                "Adjust Events",ShowEventCorrectionPanel()
136                "Create Custom Bins",Show_CustomBinPanel()
137                "-"
138                "Split Large File",SplitBigFile()
139                "Accumulate First Slice",AccumulateSlices(0)
140                "Add Current Slice",AccumulateSlices(1)
141                "Display Accumulated Slices",AccumulateSlices(2)       
142        End
143        "-"
144        "NCNR Preferences",Show_Preferences_Panel()
145        "Feedback or Bug Report",OpenTracTicketPage()
146        "Open Help Movie Page",OpenHelpMoviePage()
147        "Check for Updates",CheckForLatestVersion()
148//      Submenu "Utility Routines"
149//              "Clear Work Folders"
150//              "Clear Root Folder"
151//      End
152End
153
154Function VSANSHelp()
155        DisplayHelpTopic/Z/K=1 "VSANS Data Reduction Documentation"
156        if(V_flag !=0)
157                DoAlert 0,"The VSANS Data Reduction Help file could not be found"
158        endif
159End
Note: See TracBrowser for help on using the repository browser.