source: sans/Dev/trunk/NCNR_User_Procedures/Analysis/SA_includes_v410.ipf @ 734

Last change on this file since 734 was 708, checked in by srkline, 13 years ago

SA_Includes_v410 : now include Smear_2D

PeakGauss_2D, Sphere_2D : included threaded resolution smearing calculations for testing

DataSetHandling? : Included a quick and dirty batch converter for XML->6-col. See the top
of the file for the command to run

GaussUtils? : re-define the ResSemear_2D_AAOStruct. Relocated q-value and phi calculations from
RawWindowHook? to this file so they would be available for reduction and analysis

Smear_2D : now has a generic (non-threaded) smearing routine. Threading must be done in
individual functions since FUNCREF can't be passed to threads (plus a few other issues)

PlotUtils_2D : updated loader for new QxQy? columns. Fixes to Wrapper_2D to enable smeared fits

RawWindowHook? : removed Q-value calculation functions and moved these to GaussUtils?

WriteQIS : now writes out 8-columns for QxQy? data, defining the resolution
function in terms of directions parallel and perpendicular to Q. TEMPORARILY in the data
file an error in intensity is generated that is SQRT(I), being careful to
replace any NaN, inf, or zero with an average error value

MultiScatter_MonteCarlo_2D : 4-processor aware

NCNR_Utils : 2D resolution calculation is now in terms of parallel and perpendicular
rather than x and y. Gravity is included in the y-component

File size: 2.5 KB
1#pragma rtGlobals=1             // Use modern global access method.
2#pragma version=4.0
3#pragma IgorVersion=6.1
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
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"
21#include "USANS_SlitSmearing_v40"
22#include "WriteModelData_v40"
23#include "Wrapper_v40"
24#include "PlotUtils2D_v40"
25#include "GizmoCylinder_v40"
27#include "CheckVersionFTP"                              //added June 2008
29#include "DataSetHandling"                                      //added Nov 2009 AJJ
30#include "Smear_2D"                                             //for 2D resolution smearing, May 2010
32Menu "SANS Models"
33        "Fit Manager", Init_WrapperPanel()
34        "Load Model Functions",Execute/P "INSERTINCLUDE \"SANSModelPicker_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "ModelPicker_Panel()"
35        "Load and Plot Manager", Show_Plot_Manager()
36        "Freeze Model"
37        "Write Model Data"
38        "ReWrite Experimental Data",ReWrite1DData()
39        "1D Arithmetic Panel",MakeDAPanel()
40        "-"
41        Submenu "Packages"
42                "Sum Two Models",Execute/P "INSERTINCLUDE \"SumSANSModels_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Init_SumModelPanel()"
43                "Global Fitting",Execute/P "INSERTINCLUDE \"GlobalFit2_NCNR_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "WM_NewGlobalFit1#InitNewGlobalFitPanel()"
44                "Simple Global Fitting",Execute/P "INSERTINCLUDE \"GlobalFit2_NCNR_v40\"";Execute/P "INSERTINCLUDE \"SimpleGlobalFit_NCNR_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Init_SimpleGlobalFit()"
45                "Determine Invariant",Execute/P "INSERTINCLUDE \"Invariant_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Make_Invariant_Panel()"
46                "Do Linear Fits",Execute/P "INSERTINCLUDE \"LinearizedFits_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "A_OpenFitPanel()"
47                GenOpFlagEnable()+"Genetic Optimization Enabled", Init_GenOp()
48                GenOpFlagDisable()+"Genetic Optimization Disabled", UnSet_GenOp()
49        End
50        "-"
51        Submenu "2D Utilities"
52                "Generate Fake QxQy Data",FakeQxQy()
53                "Show Cylinder Orientation"
54                "Change Angle"
55        end
56        "-"
57        "NCNR Preferences",Show_Preferences_Panel()
58        "Feedback or Bug Report",OpenTracTicketPage()
59        "Open Help Movie Page",OpenHelpMoviePage()
60        "Check for Updates",CheckForLatestVersion()
Note: See TracBrowser for help on using the repository browser.