Ignore:
Timestamp:
Apr 7, 2010 11:00:01 AM (13 years ago)
Author:
srkline
Message:

Made the preference panel fancier, with a tab control. this makes it much easier to add more things in the future. Added two more SANS items to turn off some detector corrections. good for testing, but maybe a bit dangerous.

removed the SANSPreferences procedure file from the general includes list for reduction. kept it in the very old versions of the includes (510 and older) for backwards comaptibility. new experiments start with 520 or higher.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/WorkFileUtils.ipf

    r609 r668  
    121121         
    122122        // switches to control what is done, don't do the transmission correction for the BGD measurement 
    123         NVAR doEfficiency = root:myGlobals:gDoDetectorEffCorr 
    124         NVAR gDoTrans = root:myGlobals:gDoTransmissionCorr 
     123        NVAR doEfficiency = root:Packages:NIST:gDoDetectorEffCorr 
     124        NVAR gDoTrans = root:Packages:NIST:gDoTransmissionCorr 
    125125        Variable doTrans = gDoTrans 
    126126        if(cmpstr("BGD",newtype) == 0) 
     
    291291        //apply nonlinear, Jacobian corrections --- 
    292292        // switches to control what is done, don't do the transmission correction for the BGD measurement 
    293         NVAR doEfficiency = root:myGlobals:gDoDetectorEffCorr 
    294         NVAR gDoTrans = root:myGlobals:gDoTransmissionCorr 
     293        NVAR doEfficiency = root:Packages:NIST:gDoDetectorEffCorr 
     294        NVAR gDoTrans = root:Packages:NIST:gDoTransmissionCorr 
    295295        Variable doTrans = gDoTrans 
    296296        if(cmpstr("BGD",newtype) == 0) 
Note: See TracChangeset for help on using the changeset viewer.