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

Last change on this file since 472 was 472, checked in by srkline, 14 years ago

A large number of changes and fixes:

--168/169/170: panels and windows are now at least on-screen for all packages. Tested
with 1024x768 resolution.
-- closed ticket 176 which was a question about resampling data to generate error estimates
on fitted parameters. Useful for reflectometry, not needed for SANS.
--157: bug of low Q power law extrapolation in Invariant fixed by avoiding q==0
--178/180: Tr/Tw? notification in USANS. log/lin checkbox for display.
--167: saveData checkbox for USANS not behaving well. turns off/on better now.
--197: changed all (?) 1D writing routines to enforce 26 characters as the maximum length
to make sure that file loading will never exceed 31 characters

-- lots of changes to MonteCarlo? and SASCALC

  • SASCALC now enforces *exact* lens conditions, rather than a close approximation
  • improved MonteCarlo? interface panel
  • added writer for simlulated VAX binary data file
  • can save 2D as ABS or raw counts
  • can freeze w/no offset
File size: 2.5 KB
[157]1#pragma rtGlobals=1             // Use modern global access method.
[256]2#pragma version=4.0
[157]3#pragma IgorVersion=6.0
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
[354]19#include "USANS_SlitSmearing_v40"
20#include "WriteModelData_v40"
[256]21#include "Wrapper_v40"
22#include "PlotUtils2D_v40"
23#include "GizmoCylinder_v40"
[377]25#include "CheckVersionFTP"                              //added June 2008
[472]26#include "WriteQIS"                             //added Jan 2009 for fileSaveDialog
[172]29Menu "SANS Models"
30        "Fit Manager", Init_WrapperPanel()
[256]31        "Load Model Functions",Execute/P "INSERTINCLUDE \"SANSModelPicker_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "ModelPicker_Panel()"
[315]32        "Load and Plot Manager", Show_Plot_Manager()
[200]33        "Freeze Model"
[176]34        "Write Model Data"
[172]35        "-"
[157]36        Submenu "Packages"
[256]37                "Sum Two Models",Execute/P "INSERTINCLUDE \"SumSANSModels_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Init_SumModelPanel()"
38                "Global Fitting",Execute/P "INSERTINCLUDE \"GlobalFit2_NCNR_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "WM_NewGlobalFit1#InitNewGlobalFitPanel()"
39                "Determine Invariant",Execute/P "INSERTINCLUDE \"Invariant_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "Make_Invariant_Panel()"
40                "Do Linear Fits",Execute/P "INSERTINCLUDE \"LinearizedFits_v40\"";Execute/P "COMPILEPROCEDURES ";Execute/P "A_OpenFitPanel()"
[157]41        End
[196]42        "-"
[310]43        Submenu "2D Utilities"
44                "Generate Fake QxQy Data",FakeQxQy()
45                "Show Cylinder Orientation"
46                "Change Angle"
47        end
48        "-"
[196]49        "Feedback or Bug Report",OpenTracTicketPage()
[250]50        "Open Help Movie Page",OpenHelpMoviePage()
[377]51        "Check for Updates",CheckForLatestVersion()
54Function OpenTracTicketPage()
[246]55        DoAlert 1,"Your web browser will open to a page where you can submit your bug report or feature request. OK?"
[196]56        if(V_flag==1)
57                BrowseURL ""
58        endif
61Function OpenHelpMoviePage()
62        DoAlert 1,"Your web browser will open to a page where you can view help movies. OK? (You must have QuickTime installed)"
63        if(V_flag==1)
64                BrowseURL ""
[400]65                // Andrew has set up a http page too. Try to use this in the future
66                //BrowseURL ""
[250]67        endif
Note: See TracBrowser for help on using the repository browser.