1 | #pragma rtGlobals = 3 // Use strict wave reference mode and runtime bounds checking |
---|
2 | //#pragma rtGlobals=2 // Use modern global access method. |
---|
3 | #pragma IgorVersion=7.05 //requires Igor version 7.00 or higher |
---|
4 | #pragma version=2.23 |
---|
5 | |
---|
6 | //*************************************************************************\ |
---|
7 | //* Copyright (c) 2005 - 2020, Argonne National Laboratory |
---|
8 | //* This file is distributed subject to a Software License Agreement found |
---|
9 | //* in the file LICENSE that is included with this distribution. |
---|
10 | //*************************************************************************/ |
---|
11 | |
---|
12 | //2.23 February 2020 release |
---|
13 | //2.22 added 3DSupportFunctions, February 2019 |
---|
14 | //2.21 Added 3DModels, December/January 2018 |
---|
15 | //2.20 removed files December/January 2018 |
---|
16 | //2.19 December 2018 release. |
---|
17 | //2.18 July 2018 release |
---|
18 | //2.17 November 2017 release |
---|
19 | //2.16 March 31, 2017 removed code related to Modeling I finally. |
---|
20 | //2.15 release 2.61 with new Import non-SAS ASCII tool and better panel scaling & preferences management. |
---|
21 | //2.14 added panel scaling. |
---|
22 | //2.13 added WAXS tool |
---|
23 | //2.12 added Simple fits, developement version |
---|
24 | //2.11 added Data Merging, removed LSQF1 versions |
---|
25 | //2.10 changed back to rtGlobals=2, need to check code much more to make it 3 |
---|
26 | //2.09 converted to rtGlobals=3 |
---|
27 | //2.08 added GuinierPorod fit package |
---|
28 | //2.07 change how to look for files (now looking relative to this file location). This should enable in the future multiple Irean versions to be installed. |
---|
29 | //2.06 updates after August8, 2011 |
---|
30 | //2.05 added Unified level as Form factor |
---|
31 | //2.04 removed Genetic optimization |
---|
32 | //2.03 September 2010, added license for ANL |
---|
33 | //2.01 February 2010 |
---|
34 | //2.02 May 2010 |
---|
35 | |
---|
36 | //This macro file is part of Igor macros package called "Irena", |
---|
37 | //the full package should be available from www.uni.aps.anl.gov/~ilavsky |
---|
38 | //this package contains |
---|
39 | // Igor functions for modeling of SAS from various distributions of scatterers... |
---|
40 | |
---|
41 | //Jan Ilavsky, November 12017 |
---|
42 | //please, read Readme in the distribution zip file with more details on the program |
---|
43 | //report any problems to: ilavsky@aps.anl.gov |
---|
44 | |
---|
45 | |
---|
46 | //this function loads the modeling of Distribution modeling macros... |
---|
47 | |
---|
48 | //these should be all in /User Procedures/Irena folder |
---|
49 | #include ":IR1_CromerLiberman", version>=2.05 //cannot be rtG=1, runtime error in Cromer_Get_fp |
---|
50 | #include ":IR1_DataManipulation", version>=2.68 |
---|
51 | #include ":IR1_Desmearing", version>=2.13 |
---|
52 | #include ":IR1_EvaluationGraph", version>=2.11 |
---|
53 | #include ":IR1_FormFactors", version>=2.29 |
---|
54 | #include ":IR1_Fractals", version>=2.10 |
---|
55 | #include ":IR1_ImportData", version>=2.40 |
---|
56 | #include ":IR1_Main", version>=2.69 |
---|
57 | #include ":IR1_PlotingToolI", version >=2.34 |
---|
58 | #include ":IR1_PlotingToolI2", version >=2.24 |
---|
59 | #include ":IR1_ScattContrast", version>=2.27 |
---|
60 | #include ":IR1_Sizes", version>=2.31 |
---|
61 | #include ":IR1_UnifiedFitFncts", version>=2.33 |
---|
62 | #include ":IR1_UnifiedFitPanel", version>=2.26 |
---|
63 | #include ":IR2_AnalyticalModels", version>=4.16 |
---|
64 | #include ":IR2_DataExport", version>=1.13 |
---|
65 | #include ":IR2_DataMiner", version >=1.13 |
---|
66 | #include ":IR2_ModelingMain", version>=1.31 |
---|
67 | #include ":IR2_ModelingSupport", version>=1.51 |
---|
68 | #include ":IR2_PanelCntrlProcs", version>=1.53 |
---|
69 | #include ":IR2_PlotingToolII", version>=1.1 |
---|
70 | #include ":IR2_Reflectivity", version >=1.21 |
---|
71 | #include ":IR2_ScriptingTool", version>=1.30 |
---|
72 | #include ":IR2_SmallAngleDiffraction", version>=1.19 |
---|
73 | #include ":IR2_StructureFactors", version>=1.07 |
---|
74 | #include ":IR2_PDDF", version>=1.15 |
---|
75 | #include ":IR3_3DModels", version>=1.01 |
---|
76 | #include ":IR3_3DSupportFunctions", version>=1.00 |
---|
77 | #include ":IR3_3DTwoPhaseSolid", version>=1.02 |
---|
78 | #include ":IR3_Anisotropy", version>=1.00 |
---|
79 | #include ":IR3_GuinierPorodModel", version>=1.11 |
---|
80 | #include ":IR3_MergingData", version>=1.19 |
---|
81 | #include ":IR3_MultiDataPlot", version>=1 |
---|
82 | #include ":IR3_SimpleFits", version>=1.10 |
---|
83 | #include ":IR3_WAXSDiffraction", version>=1.14 |
---|
84 | |
---|
85 | //these are in different folders... |
---|
86 | #include "::CanSAS:cansasXML_GUI", version>=1.04 |
---|
87 | #include "::CanSAS:cansasXML", version>=1.12 |
---|
88 | |
---|
89 | #include "::Indra 2:IN2_GeneralProcedures", version>=2.20 |
---|
90 | |
---|
91 | #include "::CanSAS:IRNI_NexusSupport", version>=1.14 |
---|
92 | |
---|
93 | |
---|
94 | //removed December 2018, need to delete them from distributions |
---|
95 | //#include ":IR1_Unified_Panel_Fncts", version>=2.25 |
---|
96 | //#include ":IR1_Unified_SaveExport", version>=2.03 |
---|
97 | //#include ":IR1_UnifiedSavetoXLS", version>=2.01 |
---|
98 | //#include ":IR1_Unified_Fit_Fncts2", version>=2.08 |
---|
99 | //#include ":IR1_FractalsFiting", version>=2.03 |
---|
100 | //#include ":IR1_FractalsInit", version>=2.02 |
---|
101 | //#include ":IR1_FractalsCtrlPanel", version>=2.08 |
---|
102 | //#include ":IR2L_NLSQFfunctions", version>=1.29 |
---|
103 | //#include ":IR2L_NLSQFCalc", version>=1.15 |
---|
104 | //#include ":IR2_DWSGraphControls", version>=1 |
---|
105 | //#include ":IR3_SimpleFitsModels", version>=1 |
---|
106 | //#include ":IR1_CreateFldrStrctr", version>=2.06 |
---|
107 | //#include ":IR1_GraphStyling", version>=2.01 |
---|
108 | //#include ":IR2Pr_Regularization", version>=1.03 |
---|