Ignore:
Timestamp:
Jul 17, 2018 1:58:12 PM (4 years ago)
Author:
srkline
Message:

two significant changes:

1- in the averaging, before the data is finally written out, duplicate q-values (within 0.1%) are averaged so that duplicate q-values do not appear in the data file. This has a very bad effect on the calculation of the smearing matrix (dq=0).

2-for the data from the back (high res) detector, two steps have been added to the processing at the point where the data is converted to WORK. First, a constant read noise value of 200 cts/pixel is subtracted (found from average of multiple runs with beam off) Second, a 3x3 median filter is applied to the whole image to eliminate the stray bright pixels. Some are saturatd, some are simply outliers. Very effective.

File:
1 edited

Legend:

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

    r1110 r1111  
    14001400        adjW=0 
    14011401         
    1402         Variable topX,bottomX 
    1403         Variable topY,bottomY 
    1404          
    1405         topX = 7 
    1406         topY = 105 
    1407          
    1408         bottomX = 7 
    1409         bottomY = 35 
     1402//      Variable topX,bottomX 
     1403//      Variable topY,bottomY 
     1404         
     1405//      topX = 7 
     1406//      topY = 105 
     1407         
     1408//      bottomX = 7 
     1409//      bottomY = 35 
    14101410         
    14111411        // middle 
     
    14131413 
    14141414        //top 
    1415         adjW[0+topX,679][552+552,1655-topY] = w[p-topX][q+topY] 
     1415        adjW[0+kShift_topX,679][552+552,1655-kShift_topY] = w[p-kShift_topX][q+kShift_topY] 
    14161416         
    14171417        //bottom 
    1418         adjW[0+bottomX,679][0+bottomY,551] = w[p-bottomX][q-bottomY] 
     1418        adjW[0+kShift_bottomX,679][0+kShift_bottomY,551] = w[p-kShift_bottomX][q-kShift_bottomY] 
    14191419         
    14201420        return(0) 
Note: See TracChangeset for help on using the changeset viewer.