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

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

adding first pass of procedures to allow plotting of sensor data. currently the sensor data folders are listed (if present), with status of data fields and a plot of the data. Attributes are not read in so the units are not known. CUrrently limited to temperature data

access to the nre panel is from the menu or the raw data panel.

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