source: sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VSANS_Includes.ipf @ 1073

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

lots of changes here:
many little fixes to clean up TODO items and marke them DONE

changed the handling of the panel "gap" to split the gap evenly. Q-calculations have been re-verified with this change.

re-named the list of "bin Type" values, and added a few more choices. Streamlined how the averaging and plotting works with this list so that it can be more easily modified as different combinations of binning are envisioned. This resulted in a lot of excess code being cut out and replaced with cleaner logic. This change has also been verified to work as intended.

Attenuation is now always calculated from the table. The table also by (NEW) definition has values for the white beam (one waelength) and graphite (multiple possible wavelengths) where the wavelengths are artificially scaled (*1000) or *1e6) so that the interpolations can be done internally without the need for multiple attenuator tables.

File size: 2.8 KB
Line 
1#pragma rtGlobals=3             // Use modern global access method and strict wave access.
2
3// to properly set up the template for other facility reduction templates,
4// function NCNR_VSANS() must exist here in the Includes file.
5//
6Function NCNR_VSANS()
7        //does nothing but define NCNR()
8        return(0)
9End
10
11
12// These files are COMMON NCNR FILES
13// the first three are necessary for loading and plotting of 1D data sets
14// using the PlotManager
15#include "PlotUtilsMacro_v40"
16#include "PlotManager_v40"
17#include "NIST_XML_v40"
18//
19//#include "NCNR_Utils"         //needed to load linear fits, mostly VAX file name junk
20//#include "LinearizedFits_v40"         //won't compile - needs NCNR_Utils (then starts a chain of dependencies...)
21
22
23
24// VC designation is for VCALC (mostly)
25// and V designation is for VSANS
26// no prefix = COMMON procedure files
27//  note that the common files are not in the VSANS procedure folder and
28//  are not included in the line count
29
30
31#include "VC_DetectorBinning_Q"
32#include "VC_DetectorBinning_Slit"
33#include "VC_DetectorBinning_Utils"
34#include "VC_FrontView_Deg"     
35#include "VC_HDF5_VSANS_Utils"
36#include "VC_SideView"
37#include "VC_UtilityProcedures"
38#include "VC_VCALCPanel_MockUp"
39
40#include "HDF5gateway_NCNR"
41#include "Vx_Nexus_SANS_Write"
42#include "Vx_Nexus_VSANS_Write"
43//#include "V_ReadWrite_HDF5"           //AUG2015 beginning of read/write, renamed Nov2015
44#include "Vx_NexusFromIgor"                     //AUG2015 - depricated, but keep for now
45
46// for possible peak fitting
47#include "V_BroadPeak_Pix_2D"
48#include "V_BeamCenter"
49
50// for fitting data to generate tube corrections
51#include "V_TubeAdjustments"
52#include "V_DetectorCorrections"
53
54// for ISO time in Nexus files
55#include "V_ISO8601_Util"
56
57// HDF R/W Nov 2015
58#include "V_HDF5_Read"
59#include "V_HDF5_Write"
60#include "V_HDF5_RW_Utils"
61
62// start of VSANS reduction procedures
63#include "V_Initialize"
64#include "V_MainPanel"
65#include "V_Menu"
66#include "V_VSANS_Preferences"
67#include "V_WorkFolderUtils"
68
69// start of raw data display panel
70#include "V_RAW_Data_Panel"             // rename this later when it's done
71#include "V_Utilities_General"          //
72#include "V_DataPlotting"
73
74// 1D binning, combining 1D sets
75#include "V_IQ_Utilities"
76
77// testing procedures, to fill fake data from VCALC simulations
78#include "V_Testing_Data_Procs"
79
80// mask files
81#include "V_MaskUtils"
82
83// DIV files
84#include "V_DIVUtils"
85
86// more functionality
87#include "V_FileCatalog"
88#include "V_PatchFiles"
89#include "V_ShowDataTree"
90
91#include "V_Correct"
92#include "V_Detector_Isolate"
93#include "V_Protocol_Reduction"
94#include "V_Marquee_Operations"
95#include "V_RealTimeUpdate"
96#include "V_Combine_1D"
97#include "V_Transmission"
98
99#include "V_MultipleReduce"
100#include "V_EventMode_Utils"
101#include "V_EventModeProcessing"
102
103
104//
105#include "V_Instrument_Resolution"
106#include "V_IQ_Annular"
107#include "V_Write_VSANS_QIS"
108
109//
110#include "V_Attenuation"
111
112
113
114
115
Note: See TracBrowser for help on using the repository browser.