Ignore:
Timestamp:
May 29, 2008 10:16:31 AM (15 years ago)
Author:
srkline
Message:

Merging r367+ into Release for version 6.003

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Release/trunk/NCNR_User_Procedures/SANS/Reduction/ILL_Utils.ipf

    r363 r374  
    2929        Variable/G root:myGlobals:DeadtimeDefault = 0.9e-6              //deadtime in seconds 
    3030         
    31         Variable/G root:myGlobals:BeamstopYTol = 150     
     31        Variable/G root:myGlobals:BeamstopYTol = 100     
    3232 
    3333        Variable/G root:myGlobals:apOff = 5.0           // (cm) distance from sample aperture to sample position 
     
    367367//      print ypos 
    368368 
    369 //print ytol 
     369//  print ytol 
    370370         
    371371        if(abs(ypos)>=ytol) 
     
    831831         
    832832        Variable attenFactor 
    833          
    834         attenFactor = 1 
     833        make/O/N=4 Attenuators_ILL={1,147,902,2874} 
     834         
     835        attenFactor = Attenuators_ILL[attenNo] 
     836         
     837//      print attenfactor 
    835838         
    836839        // your code here 
    837840 
    838         return(attenFactor) 
     841        return(1/attenFactor) 
    839842End 
    840843 
Note: See TracChangeset for help on using the changeset viewer.