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

Last change on this file since 661 was 661, checked in by srkline, 12 years ago

Added routines to enforce short enough names to keep the Igor-generated object names to less than 31 characters (once I add extensions). Changed the ExecuteProtocol? to automatically trim text from the HFIR data file names, since they are ridiculously long.

Added routines in 1D Data loader (and XML loader) to enforce 25 characters, in the case that a long file name was generated by another program.

If XML files are generated, "x" is tagged at the end of the suffix, as in ".ABSx".
Added menu items to each package menu for feedback, movies, and updates

Made sure that new table entry of SamplePosition? did not cause compile errors with other facility templates. right now, this is NCNR-specific, but easity added to other facilities if they provide the stub. then the bits of the table could be added.

File size: 2.4 KB
[157]1#pragma rtGlobals=1             // Use modern global access method.
[256]2#pragma version=4.0
[570]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
[256]12#include "SANSModelPicker_v40"                  version>=4.00
[157]13//utility procedures
[256]14#include "GaussUtils_v40"                               version>=4.00
[403]15#include "NIST_XML_V40"                                 //added September 2008
[256]16#include "PlotUtilsMacro_v40"                   version>=4.00
17#include "PlotManager_v40"                              version>=4.00
[495]18#include "NCNR_GenFitUtils"                     // April 2009, compiles OK if XOP not present
[577]19#include "NCNR_Utils"
[354]21#include "USANS_SlitSmearing_v40"
22#include "WriteModelData_v40"
[256]23#include "Wrapper_v40"
24#include "PlotUtils2D_v40"
25#include "GizmoCylinder_v40"
[377]27#include "CheckVersionFTP"                              //added June 2008
[602]29#include "DataSetHandling"                                      //added Nov 2009 AJJ
[172]31Menu "SANS Models"
32        "Fit Manager", Init_WrapperPanel()
[256]33        "Load Model Functions",Execute/P "INSERTINCLUDE \"SANSModelPicker_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "ModelPicker_Panel()"
[315]34        "Load and Plot Manager", Show_Plot_Manager()
[200]35        "Freeze Model"
[176]36        "Write Model Data"
[497]37        "ReWrite Experimental Data",ReWrite1DData()
[610]38        "1D Arithmetic Panel",MakeDAPanel()
[172]39        "-"
[157]40        Submenu "Packages"
[256]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()"
[475]43                "Simple Global Fitting",Execute/P "INSERTINCLUDE \"GlobalFit2_NCNR_v40\"";Execute/P "INSERTINCLUDE \"SimpleGlobalFit_NCNR_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Init_SimpleGlobalFit()"
[256]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()"
[495]46                GenOpFlagEnable()+"Genetic Optimization Enabled", Init_GenOp()
47                GenOpFlagDisable()+"Genetic Optimization Disabled", UnSet_GenOp()
[157]48        End
[196]49        "-"
[310]50        Submenu "2D Utilities"
51                "Generate Fake QxQy Data",FakeQxQy()
52                "Show Cylinder Orientation"
53                "Change Angle"
54        end
55        "-"
[196]56        "Feedback or Bug Report",OpenTracTicketPage()
[250]57        "Open Help Movie Page",OpenHelpMoviePage()
[377]58        "Check for Updates",CheckForLatestVersion()
Note: See TracBrowser for help on using the repository browser.