Ignore:
Timestamp:
Jun 10, 2011 2:03:45 PM (12 years ago)
Author:
srkline
Message:

Initial separation of facility-specific initialization from the USANS reduction procedures. This is being done to enable the KIST-USANS instrument to use the NCNR reduction scheme. KIST will duplicate the .bt5 file structure but use a different extension.

For this, files for KIST have been created for USANS-specifc, and for some SANS-specific procedures that are entangled with the XML writing and with the USANS simulator.

Corresponding changes (new U_NCNR_Utils) have been added for NCNR-specific USANS initialization.

More will need to be done to disentangle the U_CALC, but at a later date. See ticket #334.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/USANS_Includes_v230.ipf

    r740 r807  
    22#pragma version=2.20 
    33#pragma IgorVersion=6.1 
     4 
     5 
     6// to properly set up the template for other facility reduction templates,  
     7// function NCNR_USANS() must exist here in the Includes file. 
     8// 
     9Function NCNR_USANS() 
     10        //does nothing but define NCNR_USANS() 
     11        return(0) 
     12End 
     13 
    414 
    515//************* 
     
    919// 
    1020 
     21 
    1122#include "BT5_Loader",version >= 2.20    
    1223#include "COR_Graph",version >= 2.20                     
    1324#include "Main_USANS",version >= 2.20    
    1425#include "PlotUtilsMacro_v40",version >= 2.20 
    15 #include "NIST_XML_v40" 
     26#include "NIST_XML_v40"                                 //cansas file writer 
    1627#include "USANS_SlitSmearing_v40"        
    1728#include "WriteUSANSData",version >= 2.20        
     
    2132#include "GaussUtils_v40"                               //added Oct 2008 for unified file loading 
    2233#include "BT5_AddFiles"                                 //Oct 2009 to add raw data files 
     34#include "NCNR_Utils"                                   //needed for NIST_XML 
     35#include "U_NCNR_Utils"                                 //USANS-specific initialization 
     36 
    2337 
    2438// USANS simulation and required procedures 
     
    2943#include "NCNR_DataReadWrite" 
    3044#include "SANS_Utilities" 
    31 #include "NCNR_Utils" 
    3245#include "MultipleReduce" 
    3346#include "WriteQIS" 
Note: See TracChangeset for help on using the changeset viewer.