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

Last change on this file since 1092 was 1092, checked in by srkline, 5 years ago

added a few corrections to the reduction:

Added sample apertures to the patch panel so that they can be corrected

A flag is now written to the data files if the "flip" has been done, and it will refuse to flip again. This flag can be reset if something goes wrong.

Multiple reduce now allows run numbers to be entered as is for SANS,

Filtering of files for the protocol panel should be better behaved now.

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