Ignore:
Timestamp:
Apr 4, 2011 12:18:33 PM (11 years ago)
Author:
srkline
Message:

Changes to SANS reduction that apply to other Facilities:

These changes are related to the propagation of errors in 2D, on a
per-pixel basis. These changes only affect the errors that are reported in
the QxQy? ASCII file output. The 1D code is unaffected.

If these changes are not implemented, then errors of zero will be substitued as defaults
for these experimental errors.

Upon data loading, an error matrix, linear_data_error is generated and filled with
error values appropriate for Poisson statistics (not simply sqrt(n)).

4 functions in FACILITY_DataReadWrite.ipf have been added, and they are rather
self-explanatory:

In FACILITY_Utils.ipf, the AttenuatorTransmission?() function now returns
an additional parameter, atten_err, which is one standard deviation of the
attenuator transmission value. It returns a default error=0 (which is
correct if no attenuation is used). Facilities can fill this function in
with their own estimates for the uncertainty in the attenutator transmission.

File:
1 edited

Legend:

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

    r683 r795  
    611611// 
    612612// called by Correct.ipf, ProtocolAsPanel.ipf, Transmission.ipf 
    613 // 
    614 Function AttenuationFactor(fileStr,lam,attenNo) 
     613// atten_err is one std. deviation, passed back by reference 
     614Function AttenuationFactor(fileStr,lam,attenNo,atten_err) 
    615615        String fileStr 
    616         Variable lam,attenNo 
     616        Variable lam,attenNo, &atten_err 
    617617         
    618618        Variable attenFactor=1 
Note: See TracChangeset for help on using the changeset viewer.