source: sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/NCNR_Includes_v520.ipf @ 950

Last change on this file since 950 was 950, checked in by srkline, 8 years ago

adding new procedures for testing -- that will enable:

(1) automation of SANS data reduction, at least in some of the more standard cases. The more consistently the data files are named, the better this works.
(2) Much simpler scripting of experiment simulation. now a simulated experiment can be set up is the same way that a real experiemtn can -- by setting up a list of "runs"

Help files are to follow for all of these. Prelimiary help for the automation has been added to the SANS Reduction Help file. Videos to follow. Loaders for these two items have been added to the Macros menu so that all of the dependencies are satisfied.

More testing is still necessary to make sure that nothing has been broken, and that sufficient error catching has been done so that meaningful testing can be done.

File size: 4.3 KB
Line 
1#pragma rtGlobals=1             // Use modern global access method.
2#pragma version=5.2
3#pragma IgorVersion=6.1
4
5
6// to properly set up the template for other facility reduction templates,
7// function NCNR() must exist here in the Includes file.
8//
9Function NCNR()
10        //does nothing but define NCNR()
11        return(0)
12End
13
14
15//*************
16// the list of files to include in the SANS reduction experiment
17//  - files must be located somewhere in the User Procedures folder
18// or sub-folders
19//
20// these procedure files are those used in version 5.0 of the
21// SANS Reduction macros, August 2006
22
23#include "AvgGraphics"                  version>=5.0
24#include "Buttons"                              version>=5.0
25#include "CatVSTable"                   version>=5.0
26#include "CircSectAve"                  version>=5.0
27#include "Correct"                              version>=5.0
28#include "DisplayUtils"                 version>=5.0
29#include "FIT_Ops"                              version>=5.0
30#include "Initialize"                   version>=5.0
31#include "MainPanel"                    version>=5.0
32#include "Marquee"                              version>=5.0
33#include "MaskUtils"                    version>=5.0
34#include "Menu"                                 version>=5.0
35#include "MultipleReduce"               version>=5.0
36#include "NSORT"                                        version>=5.0
37#include "PatchFiles"                   version>=5.0
38//#include "PlotUtils"                  version>=5.0
39//AJJ October 2008 - switch to shared file loader
40#include "PlotUtilsMacro_v40"
41#include "NIST_XML_v40"
42//#include "cansasXML"
43#include "USANS_SlitSmearing_v40"
44#include "GaussUtils_v40" // for isSANSResolution - could put this function elsewhere
45//
46#include "ProDiv"                               version>=5.0
47#include "ProtocolAsPanel"              version>=5.0
48//#include "RawDataReader"              version>=5.0                    //branched 29MAR07
49#include "RawWindowHook"                version>=5.0
50#include "RectAnnulAvg"                 version>=5.0
51#include "Schematic"                    version>=5.0
52#include "Tile_2D"                              version>=5.0
53#include "Transmission"                 version>=5.0
54//#include "VAXFileUtils"                       version>=5.0            //branched 29MAR07
55#include "WorkFileUtils"                version>=5.0
56#include "WriteQIS"                             version>=5.0
57// removed RT button from main panel AUG2006
58// removed RT ipf file in 29MAR07 branch (do not delete, but do not include or maintain)
59//Add back Real Time for ICE
60#include "RealTimeUpdate_RT"            version>=5.0           
61#include "Subtract_1D"                          version>=5.0                    //NEW 14MAY03
62
63#include "NCNR_Utils"                                                                   //new in the 29MAR07 branch
64#include "NCNR_DataReadWrite"                                                   //new in the 29MAR07 branch
65#include "SANS_Utilities"                                                               //new in the 29MAR07 branch
66
67// new in Jan 2008
68#include "SASCALC"
69#include "CheckVersionFTP"                              //added June 2008
70#include "MultScatter_MonteCarlo_2D"                    //Oct 2008 SRK for SASCALC simulation
71
72
73#include "TISANE"
74
75
76//AJJ Oct 2008
77#include "PlotManager_v40"
78
79// SRK JUN2009
80#include "Smear_2D"             //2D resolution calculation and smearing
81
82//AJJ Nov 2009
83#include "DataSetHandling"
84#include "WriteModelData_v40"
85
86// SRK OCT 2012 - processing of event mode data
87#include "EventModeProcessing"
88
89// SRK JAN 2013 - to make simulation easier
90// SRK NOV 2014 -- moved to a separate loader to avoid reduction/analysis tangles
91//#include "MC_SimulationScripting"
92
93// SRK NOV 2014 -- beta of automated reduction routines
94#include "Automated_SANS_Reduction"
95
96// SRK NOV 2014 -- beta of a "run panel" for scripting of simulation
97// SRK NOV 2014 -- moved to a separate loader to avoid reduction/analysis tangles
98//#include "MC_Script_Panels"
99
100// a simple list of items to add to the Beta menu
101// to allow testing of these features
102//
103// To activate the SANSBeta menu, change "xMenu" to "Menu"
104// and click "compile" at the bottom of this window. The SANSBeta
105// menu will appear in the menubar.
106//
107xMenu "SANSBeta"
108//      "Help for Beta Operations",DisplayHelpTopic/Z/K=1 "Beta SANS Tools"
109//      "-"
110//      "FillEMPUsingSelection"         // Transmission utilities have been added directly to the panel
111//      "GuessEveryTransFile"
112//      "GuessSelectedTransFiles"
113//      "ClearSelectedTransAssignments"
114//      "-"
115////    "CreateRunNumList"
116////    "TransList"
117//      "ScatteringAtSDDList"                   // MRED utilities have been added directly to the panel
118////    "RemoveRunFromList"
119//      "FillMREDList"
120//      "-"
121////    "Set3NSORTFiles"
122//      "CreateTableToCombine"                  //moved to a separate panel available from the 1D Ops tab
123//      "DoCombineFiles"
124//      "-"
125        "Convert To Lens"
126        "Convert To Pinhole"
127        "Patch Detector Pixel Size"
128        "Read Detector Pixel Size"
129        "Patch User Account Name"
130        "Read User Account Name"
131        "Patch Monitor Count"
132        "Read Monitor Count"
133        "Read Detector Count"
134        "-"
135        "PatchFileNameInHeader"
136        "ReadFileNameInHeader"
137        "-"
138        "Renumber Run Number"
139        "Check File Names"
140//      "-"
141//      "AddALLToLayout"                        //added to tile raw 2d panel
142       
143End
Note: See TracBrowser for help on using the repository browser.