Ignore:
Timestamp:
Oct 22, 2009 11:04:32 AM (13 years ago)
Author:
srkline
Message:

Fixed logic error in writing the XY box count values to the empty beam header that could result in INF transmission.

Updated critera for "RAW" data files to include "SIM" as well.

Added NCNR_Utils to the includes list for Analysis.

File:
1 edited

Legend:

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

    r570 r577  
    999999                                NVAR doABS = root:Packages:NIST:SAS:g_1D_DoABS 
    10001000                                NVAR addNoise = root:Packages:NIST:SAS:g_1D_AddNoise 
    1001                                                          
     1001                                 
     1002                                // this is where the number of cells comes in - the calculation of the error bars 
     1003                                // sigma[i] = SUM(sigma[ij]^2) / nCells^2 
     1004                                // and since in the simulation, SUM(sigma[ij]^2) = nCells*sigma[ij]^2 = nCells*Inten 
     1005                                // then... 
    10021006                                sigave = sqrt(aveint/nCells)            // corrected based on John's memo, from 8/9/99 
    10031007                                 
Note: See TracChangeset for help on using the changeset viewer.