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/Common/Packages/PlotManager/USANS_SlitSmearing_v40.ipf

    r1100 r1111  
    149149        WAVE ival = $(baseStr+"_i") 
    150150        WAVE sval = $(baseStr+"_s") 
     151        WAVE dQvW = $(baseStr+"_dQv") 
    151152        Duplicate/O/R=[pt1,pt2] qval $(baseStr+"_qt") 
    152153        Duplicate/O/R=[pt1,pt2] ival $(baseStr+"_it") 
    153154        Duplicate/O/R=[pt1,pt2] sval $(baseStr+"_st") 
     155        Duplicate/O/R=[pt1,pt2] dQvW $(baseStr+"_dQvt") 
    154156        WAVE qt = $(baseStr+"_qt")                      //these are trimmed based on the cursor points 
    155157        WAVE it = $(baseStr+"_it") 
    156158        WAVE st = $(baseStr+"_st") 
     159        WAVE dQvt = $(baseStr+"_dQvt") 
    157160         
    158161        //Variable/G USANS_m = EnterSlope(baseStr) 
Note: See TracChangeset for help on using the changeset viewer.