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

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

added a batch patch routine to correct the sample aperture shape and size since it may be incorrectly written by NICE

defined the sector angles to match the SANS definition and updated the associated logic for the averaging and sector display

updated sorting of the file catalog to allow sorting by SDD_F and countRate_F. Also added a second sort key to keep the run numbers in order whenever sorting any other column.

  • Property svn:executable set to *
File size: 4.7 KB
RevLine 
[971]1#pragma rtGlobals=1             // Use modern global access method.
2#pragma version=5.0
3#pragma IgorVersion=6.1
4
5
[1095]6
[971]7//
8//****************************
9//
10
11
12Menu "VSANS"
13        "Initialize",Initialize_VSANS()
14        "VSANS Help"
15        "-"
16        "Main Control Panel",DoWindow/F Main_VSANS_Panel
[982]17        "Data Display",DoWindow/F VSANS_Data
[971]18        "VCALC",VCALC_Panel()
[1081]19        "VSANS Preferences",Show_VSANSPreferences_Panel()
[971]20        "-"
[1108]21        Submenu "Data Panels"
[1021]22                "Patch Beam Center XY",V_PatchDet_xyCenters_Panel()
23                "Patch Detector Deadtime",V_PatchDetectorDeadtimePanel()
[1022]24                "Patch Detector Calibration",V_PatchDetectorCalibrationPanel()
[1056]25                "-"
[1146]26                "Display Temperature Sensors",V_InitSensorGrapn()
27                "-"
[1126]28                "Show Mask for Averaging",V_Display_Four_Panels()
[1144]29//              "Annular Binning",Annular_Binning()
30//              "Write Annular Data",V_Write1DAnnular()
31//              "Trim I(q) points",V_CombineDataGraph()
[1083]32                "-"
[1141]33                "Derive Beam Centers From Reference",V_DeriveBeamCenters()
[1108]34                "-"
35                "Back Detector Saturation",Vm_NumberSaturated()
[1112]36                "Median Filter Back Det",pV_MedianFilterBack()
37                "Subtract Read Noise",pV_SubtractReadNoiseBack()
38                "Median+Read Noise",pV_MedianAndReadNoiseBack()
[971]39        End
[1095]40        SubMenu "Nexus File Corrections"
[1108]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                "-"
[1144]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()
[1083]50                "Patch Detector Distance",V_PatchDet_Distance()
[1118]51                "Patch XY Pixel Size",V_Patch_XYPixelSize()
[1095]52                "-"
[1093]53                "Patch Back Detector Values",V_Patch_Back_Detector()
[1141]54                "Patch NumberOfGuides_SSD_Aperture ",V_Patch_Guide_SSD_Aperture()
55                "Patch Beam Stop",V_Patch_BeamStop()
[1148]56                "Patch Sample Aperture",V_Patch_SampleAperture2()
[1095]57        End
58        SubMenu "File Tests"
59                "Copy_VCALC_to_VSANSFile",Copy_VCALC_to_VSANSFile()
[1051]60                "-"
[1042]61                "Read_Nexus with attributes",Read_Nexus_Xref()          //this will read with attributes
62                "Write_Nexus with attributes",Write_Nexus_Xref()                                //this will write out with attributes if read in by Read_Nexus_Xref
63                "-"
[1108]64                "Beam Center Panel",V_FindBeamCenter()
65                "Save I(Q) as ITX",Vm_Write1DData_ITX()
66                //
67//              "Setup_VSANS_DIV_Struct"
68//              "Save_VSANS_DIV_Nexus"
69//              "Setup_VSANS_MASK_Struct"
70//              "Save_VSANS_MASK_Nexus"
71//              "-"
72//              "Dump_V_getFP"
73//              "Dump_V_getFP_Det"
74//              "Dump_V_getSTR"
75//              "Dump_V_getSTR_Det"
[1095]76//              "Fill_Nexus_V_Template"
77//              "Save_Nexus_V_Template"
78//              "Load_Nexus_V_Template"
79//              "-"
80//              "IgorOnly_Setup_VSANS_Struct"
81//              "IgorOnly_Save_VSANS_Nexus"
82//              "IgorOnly_Setup_SANS_Struct"
83//              "IgorOnly_Save_SANS_Struct"
[1042]84        End
[1108]85//      Submenu "Work File Operations"
86//              "Convert to WORK",V_Convert_to_Workfile()
87//              "Load Fake DIV Data"
88//              "DIV a work file",V_DIV_a_Workfile()
89//              "Load Fake MASK Data"
90//              "Correct Data",V_CorrectData()
91//      End
[971]92End
93
94
95//
[1073]96xMenu "SANS"
[971]97        "Initialize"
98        "SANS Help"
99        "-"
100        "Main Control Panel",DoWindow/F Main_Panel
101        "SASCALC"
102        "-"
103        Submenu "Data Display"
104                "Show 2D SANS Data",DoWindow/F SANS_Data
105                "Show File Table",ShowCatWindow()
106        End
107        Submenu "Input Panels"
108                "Calculate Transmissions",CalcTrans()
109                "Build Reduction Protocols",ReductionProtocolPanel()
110                "Reduce Multiple Files",ReduceMultipleFiles()
111                "Patch Files",PatchFiles()
112                "1D Average",ShowAveragePanel()         
113        End
114        Submenu "1-D Processing"
115                "Load and Plot 1D Data",Show_Plot_Manager()
116                "Open FIT Panel",OpenFITPanel()
117                "Sort and Combine data",ShowNSORTPanel()
118//              "Subtract 1D Data Sets",OpenSubtract1DPanel()
119                "ReWrite Experimental Data",MakeDMPanel()               //,ReWrite1DData()      // SRK SEP10
120                "1D Arithmetic Panel",MakeDAPanel()
121                "ReBin 1D Data",OpenRebin()
122        End
123        Submenu "2-D Processing"
124                "2D Work file Math",Show_WorkMath_Panel()
125                "Tile Raw 2D files",Show_Tile_2D_Panel()
126                "Export 2D ASCII data",Export_RAW_Ascii_Panel()
127                "Bin QxQy Data to 1D",BinQxQy_to_1D()
128        End
129        Submenu "Event Processing"
130                "Event Mode Process Panel",Show_Event_Panel()
131                "Adjust Events",ShowEventCorrectionPanel()
132                "Create Custom Bins",Show_CustomBinPanel()
133                "-"
134                "Split Large File",SplitBigFile()
135                "Accumulate First Slice",AccumulateSlices(0)
136                "Add Current Slice",AccumulateSlices(1)
137                "Display Accumulated Slices",AccumulateSlices(2)       
138        End
139        "-"
140        "NCNR Preferences",Show_Preferences_Panel()
141        "Feedback or Bug Report",OpenTracTicketPage()
142        "Open Help Movie Page",OpenHelpMoviePage()
143        "Check for Updates",CheckForLatestVersion()
144//      Submenu "Utility Routines"
145//              "Clear Work Folders"
146//              "Clear Root Folder"
147//      End
148End
149
150Function VSANSHelp()
151        DisplayHelpTopic/Z/K=1 "VSANS Data Reduction Tutorial"
152        if(V_flag !=0)
153                DoAlert 0,"The VSANS Data Reduction Tutorial Help file could not be found, because it has not yet been written"
154        endif
155End
Note: See TracBrowser for help on using the repository browser.