Ignore:
Timestamp:
May 28, 2008 1:18:14 PM (14 years ago)
Author:
srkline
Message:

changes to ILL- files to properly read in DIV data, and XY box.

Some minor changes to NCNR-files for consistency of reading the XY box.

File:
1 edited

Legend:

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

    r353 r370  
    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=3 Attenuators_ILL={147,902,2874} 
     834         
     835        attenFactor = Attenuators_ILL[attenNo-1] 
     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.