Ignore:
Timestamp:
Apr 5, 2019 3:11:26 PM (4 years ago)
Author:
srkline
Message:

updates to the beam center corrections that take into account the lateral variation of zero points of the tubes. This is an important correction to the reference beam center, especially when the graphite monochrmoator is used.

various bug fixes included as part of reduction , largely to catch missing or incorrect information in the file header.

New "patch" functions have been added for number of guides, beam stops, source aperture, etc. which were missing in the file and caused the resolution calculation to be totally incorrect.

File:
1 edited

Legend:

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

    r1119 r1141  
    518518                                w -= kReadNoiseLevel_bin1               // a constant value 
    519519                                 
    520                                 MatrixFilter /N=11 /P=1 median w                        //              /P=n flag sets the number of passes (default is 1 pass) 
    521                                  
    522                                 Print "*** median noise filter 11x11 applied to the back detector (1 pass) ***" 
     520//                              MatrixFilter /N=11 /P=1 median w                        //              /P=n flag sets the number of passes (default is 1 pass)                  
     521//                              Print "*** median noise filter 11x11 applied to the back detector (1 pass) ***" 
     522                                Print "*** 1x1 binning - subtracted ReadNoise - No Filter ***" 
    523523                                break 
    524524                        case 4: 
    525525                                w -= kReadNoiseLevel_bin4               // a constant value 
    526526                                 
    527                                 MatrixFilter /N=3 /P=3 median w                 //              /P=n flag sets the number of passes (default is 1 pass) 
    528                                  
    529                                 Print "*** median noise filter 3x3 applied to the back detector (3 passes) ***" 
     527//                              MatrixFilter /N=3 /P=3 median w                 //              /P=n flag sets the number of passes (default is 1 pass)                          
     528//                              Print "*** median noise filter 3x3 applied to the back detector (3 passes) ***" 
     529                                Print "*** 4x4 binning - subtracted ReadNoise - No Filter ***" 
    530530                                break 
    531531                        default: 
Note: See TracChangeset for help on using the changeset viewer.