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

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

a few changes to the VSANS menu

updated VSANS reduction documentation for posting on the trac page

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