source: sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/NCNR_Includes_v520_HDF5.ipf @ 946

Last change on this file since 946 was 946, checked in by srkline, 9 years ago

Adding procedures that will allow read/write of raw data in HDF5 format. No Nexus file definition has been settled upon yet, so I made up my own for testing, simply converting what was present in the VAX file header. Simple read/write operations are functional, but no full scale testing.

Transmission calculation is partially broken as there are no file suffixes anymore.

Otherwise, a good starting point for the HDF5/Nexus of the future.

File size: 4.2 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_Utils_HDF5"                                                                      //new for July 2014
65//#include "NCNR_DataReadWrite"                                                 //new in the 29MAR07 branch
66#include "NCNR_DataReadWrite_HDF5"                                                      //new for July 2014
67#include "SANS_Utilities"                                                               //new in the 29MAR07 branch
68
69// new in Jan 2008
70#include "SASCALC"
71#include "CheckVersionFTP"                              //added June 2008
72#include "MultScatter_MonteCarlo_2D"                    //Oct 2008 SRK for SASCALC simulation
73
74
75#include "TISANE"
76
77
78//AJJ Oct 2008
79#include "PlotManager_v40"
80
81// SRK JUN2009
82#include "Smear_2D"             //2D resolution calculation and smearing
83
84//AJJ Nov 2009
85#include "DataSetHandling"
86#include "WriteModelData_v40"
87
88// SRK OCT 2012 - processing of event mode data
89#include "EventModeProcessing"
90
91// SRK JAN 2013 - to make simulation easier
92#include "MC_SimulationScripting"
93
94// SRK JUL 2014 -- testing of HDF5 read/write as a raw data format
95#include "HDF5_ConvertVAX_to_HDF5"
96#include "HDF5gateway_NCNR"
97
98// a simple list of items to add to the Beta menu
99// to allow testing of these features
100//
101// To activate the SANSBeta menu, change "xMenu" to "Menu"
102// and click "compile" at the bottom of this window. The SANSBeta
103// menu will appear in the menubar.
104//
105xMenu "SANSBeta"
106//      "Help for Beta Operations",DisplayHelpTopic/Z/K=1 "Beta SANS Tools"
107//      "-"
108//      "FillEMPUsingSelection"         // Transmission utilities have been added directly to the panel
109//      "GuessEveryTransFile"
110//      "GuessSelectedTransFiles"
111//      "ClearSelectedTransAssignments"
112//      "-"
113////    "CreateRunNumList"
114////    "TransList"
115//      "ScatteringAtSDDList"                   // MRED utilities have been added directly to the panel
116////    "RemoveRunFromList"
117//      "FillMREDList"
118//      "-"
119////    "Set3NSORTFiles"
120//      "CreateTableToCombine"                  //moved to a separate panel available from the 1D Ops tab
121//      "DoCombineFiles"
122//      "-"
123        "Convert To Lens"
124        "Convert To Pinhole"
125        "Patch Detector Pixel Size"
126        "Read Detector Pixel Size"
127        "Patch User Account Name"
128        "Read User Account Name"
129        "Patch Monitor Count"
130        "Read Monitor Count"
131        "Read Detector Count"
132        "-"
133        "PatchFileNameInHeader"
134        "ReadFileNameInHeader"
135        "-"
136        "Renumber Run Number"
137        "Check File Names"
138//      "-"
139//      "AddALLToLayout"                        //added to tile raw 2d panel
140       
141End
Note: See TracBrowser for help on using the repository browser.