1 | #pragma rtGlobals=1 // Use modern global access method. |
---|
2 | #pragma version=4.0 |
---|
3 | #pragma IgorVersion=6.1 |
---|
4 | |
---|
5 | //************* |
---|
6 | // the list of files to include in the SANS reduction experiment |
---|
7 | // - files must be located somewhere in the User Procedures folder |
---|
8 | // or sub-folders |
---|
9 | // |
---|
10 | |
---|
11 | //always include the picker |
---|
12 | #include "SANSModelPicker_v40" version>=4.00 |
---|
13 | //utility procedures |
---|
14 | #include "GaussUtils_v40" version>=4.00 |
---|
15 | #include "NIST_XML_V40" //added September 2008 |
---|
16 | #include "PlotUtilsMacro_v40" version>=4.00 |
---|
17 | #include "PlotManager_v40" version>=4.00 |
---|
18 | #include "NCNR_GenFitUtils" // April 2009, compiles OK if XOP not present |
---|
19 | #include "NCNR_Utils" |
---|
20 | |
---|
21 | #include "USANS_SlitSmearing_v40" |
---|
22 | #include "WriteModelData_v40" |
---|
23 | #include "Wrapper_v40" |
---|
24 | #include "PlotUtils2D_v40" |
---|
25 | #include "GizmoCylinder_v40" |
---|
26 | |
---|
27 | #include "CheckVersionFTP" //added June 2008 |
---|
28 | |
---|
29 | #include "DataSetHandling" //added Nov 2009 AJJ |
---|
30 | #include "Smear_2D" //for 2D resolution smearing, May 2010 |
---|
31 | |
---|
32 | Menu "SANS Models" |
---|
33 | "Fit Manager", Init_WrapperPanel() |
---|
34 | "Load Model Functions",Execute/P "INSERTINCLUDE \"SANSModelPicker_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "ModelPicker_Panel()" |
---|
35 | "-" |
---|
36 | Submenu "1D Utilities" |
---|
37 | "Load and Plot Manager", Show_Plot_Manager() |
---|
38 | "Freeze Model" |
---|
39 | "Write Model Data" |
---|
40 | "ReWrite Experimental Data",MakeDMPanel() //,ReWrite1DData() // SRK SEP10 |
---|
41 | "1D Arithmetic Panel",MakeDAPanel() |
---|
42 | "ReBin 1D Data",OpenRebin() |
---|
43 | "Show Correlation Matrix",DisplayCovariance() |
---|
44 | "Map Chi-Squared",MapChiSquared() |
---|
45 | "Manually Optimize Parameters",OpenManualFitPanel() |
---|
46 | end |
---|
47 | "-" |
---|
48 | Submenu "Packages" |
---|
49 | "Sum Two Models",Execute/P "INSERTINCLUDE \"SumSANSModels_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Init_SumModelPanel()" |
---|
50 | "Global Fitting",Execute/P "INSERTINCLUDE \"GlobalFit2_NCNR_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "WM_NewGlobalFit1#InitNewGlobalFitPanel()" |
---|
51 | "Simple Global Fitting",Execute/P "INSERTINCLUDE \"GlobalFit2_NCNR_v40\"";Execute/P "INSERTINCLUDE \"SimpleGlobalFit_NCNR_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Init_SimpleGlobalFit()" |
---|
52 | "Determine Invariant",Execute/P "INSERTINCLUDE \"Invariant_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Make_Invariant_Panel()" |
---|
53 | "Do Linear Fits",Execute/P "INSERTINCLUDE \"LinearizedFits_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "OpenFitPanel()" |
---|
54 | GenOpFlagEnable()+"Genetic Optimization Enabled", Init_GenOp() |
---|
55 | GenOpFlagDisable()+"Genetic Optimization Disabled", UnSet_GenOp() |
---|
56 | End |
---|
57 | "-" |
---|
58 | Submenu "2D Utilities" |
---|
59 | "Generate Fake QxQy Data",FakeQxQy() |
---|
60 | "Bin QxQy Data to 1D",BinQxQy_to_1D() |
---|
61 | "Show Cylinder Orientation" |
---|
62 | "Change Angle" |
---|
63 | end |
---|
64 | "-" |
---|
65 | "NCNR Preferences",Show_Preferences_Panel() |
---|
66 | "Feedback or Bug Report",OpenTracTicketPage() |
---|
67 | "Open Help Movie Page",OpenHelpMoviePage() |
---|
68 | "Check for Updates",CheckForLatestVersion() |
---|
69 | End |
---|
70 | |
---|