source: sans/Dev/trunk/NCNR_User_Procedures/Analysis/SA_includes_v400.ipf @ 610

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

Changes for the Arithmetic panel

  • added to the analysis package menu
  • added windows (to hide) to the SANS Reduction package list
  • bug fixes from ticket #242
File size: 3.0 KB
Line 
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
31Menu "SANS Models"
32        "Fit Manager", Init_WrapperPanel()
33        "Load Model Functions",Execute/P "INSERTINCLUDE \"SANSModelPicker_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "ModelPicker_Panel()"
34        "Load and Plot Manager", Show_Plot_Manager()
35        "Freeze Model"
36        "Write Model Data"
37        "ReWrite Experimental Data",ReWrite1DData()
38        "1D Arithmetic Panel",MakeDAPanel()
39        "-"
40        Submenu "Packages"
41                "Sum Two Models",Execute/P "INSERTINCLUDE \"SumSANSModels_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Init_SumModelPanel()"
42                "Global Fitting",Execute/P "INSERTINCLUDE \"GlobalFit2_NCNR_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "WM_NewGlobalFit1#InitNewGlobalFitPanel()"
43                "Simple Global Fitting",Execute/P "INSERTINCLUDE \"GlobalFit2_NCNR_v40\"";Execute/P "INSERTINCLUDE \"SimpleGlobalFit_NCNR_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Init_SimpleGlobalFit()"
44                "Determine Invariant",Execute/P "INSERTINCLUDE \"Invariant_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Make_Invariant_Panel()"
45                "Do Linear Fits",Execute/P "INSERTINCLUDE \"LinearizedFits_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "A_OpenFitPanel()"
46                GenOpFlagEnable()+"Genetic Optimization Enabled", Init_GenOp()
47                GenOpFlagDisable()+"Genetic Optimization Disabled", UnSet_GenOp()
48        End
49        "-"
50        Submenu "2D Utilities"
51                "Generate Fake QxQy Data",FakeQxQy()
52                "Show Cylinder Orientation"
53                "Change Angle"
54        end
55        "-"
56        "Feedback or Bug Report",OpenTracTicketPage()
57        "Open Help Movie Page",OpenHelpMoviePage()
58        "Check for Updates",CheckForLatestVersion()
59End
60
61Function OpenTracTicketPage()
62        DoAlert 1,"Your web browser will open to a page where you can submit your bug report or feature request. OK?"
63        if(V_flag==1)
64                BrowseURL "http://danse.chem.utk.edu/trac/newticket"
65        endif
66End
67
68Function OpenHelpMoviePage()
69        DoAlert 1,"Your web browser will open to a page where you can view help movies. OK? (You must have QuickTime installed)"
70        if(V_flag==1)
71                BrowseURL "ftp://webster.ncnr.nist.gov/pub/sans/kline/movies/"
72                // Andrew has set up a http page too. Try to use this in the future
73                //BrowseURL "http://www.ncnr.nist.gov/programs/sans/data/movies/reduction_analysis_movies.html"
74        endif
75End
Note: See TracBrowser for help on using the repository browser.