Ignore:
Timestamp:
Nov 3, 2008 5:32:02 PM (14 years ago)
Author:
srkline
Message:

Change to MC calculation to avoid unnecessary calculations for transmitted neutrons. Marginal speedup.

File:
1 edited

Legend:

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

    r434 r436  
    711711                inputWave[10] = sig_sas 
    712712 
     713                linear_data = 0         //initialize 
     714                 
    713715                Variable t0 = stopMStimer(-2) 
    714716         
     
    722724                Variable trans 
    723725                trans = results[8]                      //(n1-n2)/n1 
     726                if(trans == 0) 
     727                        trans = 1 
     728                endif 
    724729 
    725730                // convert to absolute scale 
Note: See TracChangeset for help on using the changeset viewer.