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

Last change on this file since 916 was 916, checked in by srkline, 10 years ago

Changes to the panel sizes to accommodate smaller screens on laptops. Resized some panels and reorganized some of the controls. Help files have been updated to reflect these changes.

Added function to rename raw data files by copying file on disk, then writing in the new file number to the header. Solves the ICE problem of duplicated run numbers. In NCNR_DataReadWrite. See RenumberRunNumber?

Added new functions to the EventModeProcessing? to split large files (stream mode) and decimate when they are read back in. Added features to the event editing to automatically detect steps, and to show the differential with the data. Panel has improved layout. Still in the beta phase with these new features.

File size: 4.0 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#include "MC_SimulationScripting"
91
92// a simple list of items to add to the Beta menu
93// to allow testing of these features
94//
95// To activate the SANSBeta menu, change "xMenu" to "Menu"
96// and click "compile" at the bottom of this window. The SANSBeta
97// menu will appear in the menubar.
98//
99xMenu "SANSBeta"
100//      "Help for Beta Operations",DisplayHelpTopic/Z/K=1 "Beta SANS Tools"
101//      "-"
102//      "FillEMPUsingSelection"         // Transmission utilities have been added directly to the panel
103//      "GuessEveryTransFile"
104//      "GuessSelectedTransFiles"
105//      "ClearSelectedTransAssignments"
106//      "-"
107////    "CreateRunNumList"
108////    "TransList"
109//      "ScatteringAtSDDList"                   // MRED utilities have been added directly to the panel
110////    "RemoveRunFromList"
111//      "FillMREDList"
112//      "-"
113////    "Set3NSORTFiles"
114//      "CreateTableToCombine"                  //moved to a separate panel available from the 1D Ops tab
115//      "DoCombineFiles"
116//      "-"
117        "Convert To Lens"
118        "Convert To Pinhole"
119        "Patch Detector Pixel Size"
120        "Read Detector Pixel Size"
121        "Patch User Account Name"
122        "Read User Account Name"
123        "Patch Monitor Count"
124        "Read Monitor Count"
125        "Read Detector Count"
126        "-"
127        "PatchFileNameInHeader"
128        "ReadFileNameInHeader"
129        "-"
130        "Renumber Run Number"
131        "Check File Names"
132//      "-"
133//      "AddALLToLayout"                        //added to tile raw 2d panel
134       
135End
Note: See TracBrowser for help on using the repository browser.