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

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

some addtions:

DIV file generation is now aware of the High resolution detector, but the procedures are still awaiting data for testing.

Read Noise file can now be read in and stored in the (RAW) folder ReadNoise?. This is not a work folder and the data isnot changed from the RAW state. This image is then subtracted from other raw data as it is converted to a work file (SAM, EMP, etc.) Previously, only a constant value was subtracted. If the ReadNoise? data is not present, the constant will be subtracted. There is a menu option to load the ReadNoise? data.

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