Ignore:
Timestamp:
Apr 29, 2016 5:04:20 PM (6 years ago)
Author:
srkline
Message:

more changes, bug fixes, detector dead time fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_DetectorCorrections.ipf

    r994 r995  
    3434// -- clean up when done 
    3535// -- calculate + return the error contribution? 
    36 // 
     36// -- verify the error propagation 
    3737Function DeadTimeCorrectionTubes(dataW,data_errW,dtW,ctTime) 
    3838        Wave dataW,data_errW,dtW 
     
    6060                 
    6161                dataW[][] = dataW[p][q]/(1-sumTubes[p]*dtW[p])          //correct the data 
     62                data_errW[][] = data_errW[p][q]/(1-sumTubes[p]*dtW[p])          // propagate the error wave 
    6263 
    6364        elseif(cmpstr(orientation,"horizontal")==0) 
     
    6869                 
    6970                dataW[][] = dataW[p][q]/(1-sumTubes[q]*dtW[q]) 
     71                data_errW[][] = data_errW[p][q]/(1-sumTubes[q]*dtW[q]) 
    7072         
    7173        else             
Note: See TracChangeset for help on using the changeset viewer.