Ignore:
Timestamp:
Feb 5, 2010 4:15:18 PM (13 years ago)
Author:
srkline
Message:

Added a "signature" to the simulated 2D data set, setting a few pixels in the lower-left corner to known values. These points are behind the default mask.

Location:
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS
Files:
2 edited

Legend:

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

    r622 r630  
    13641364         
    13651365        NVAR rawCts = root:Packages:NIST:SAS:gRawCounts 
    1366         if(!rawCts)                     //go ahead and do the linear scaling 
     1366        if(!rawCts)                     //go ahead and do the abs scaling to the linear_data 
    13671367                linear_data = linear_data / kappa 
    13681368                linear_data /= detectorEff 
    1369         endif            
     1369        endif 
     1370         
     1371        // add a signature to the data file to tag as a simulation 
     1372        linear_data[0][0] = 1 
     1373        linear_data[2][0] = 1 
     1374        linear_data[0][2] = 1 
     1375        linear_data[1][1] = 1 
     1376//      linear_data[2][2] = 1 
     1377        linear_data[1][0] = 0 
     1378//      linear_data[2][1] = 0 
     1379        linear_data[0][1] = 0 
     1380//      linear_data[1][2] = 0 
     1381                         
    13701382        data = linear_data 
    1371          
    13721383        // re-average the 2D data 
    13731384        S_CircularAverageTo1D("SAS") 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/SASCALC.ipf

    r605 r630  
    11461146        Wave mask = $(destPath + ":mask") 
    11471147        mask = 0 
    1148         //two pixels all around 
    1149         mask[0,1][] = 1 
    1150         mask[126,127][] = 1 
    1151         mask[][0,1] = 1 
    1152         mask[][126,127] = 1 
     1148        //three pixels all around 
     1149        mask[0,2][] = 1 
     1150        mask[125,127][] = 1 
     1151        mask[][0,2] = 1 
     1152        mask[][125,127] = 1 
    11531153        // 
    11541154        //pixels within rcentr of beam center are broken into 9 parts (units of mm) 
Note: See TracChangeset for help on using the changeset viewer.