Ignore:
Timestamp:
May 14, 2009 10:24:20 AM (14 years ago)
Author:
srkline
Message:

List of small changes:
Lin_Fits - added I(0) error to one calculation, Need to propagate this to all logical places. (and submit a ticket)
MainPanel? - correctly handle cancel of raw data display
Transmssion - add a "guess" option of a user-supplied "N" characters
Correct - revert back to zero error for beam center mismatch
NCNR_DataRW - add utility to patch monitor counts (comment out of menu later)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/LinearizedFits/LinearizedFits_v40.ipf

    r477 r502  
    538538        WAVE W_sigma=W_sigma 
    539539        String textstr_1,textstr_2,textstr_3 = "" 
    540         Variable rg,rgerr,minfit,maxfit 
     540        Variable rg,rgerr,minfit,maxfit,izerr 
    541541         
    542542        textstr_1 = "Slope = " + num2str(W_coef[1]) + " ± " + num2str(W_sigma[1]) 
     
    574574                endif 
    575575                If (cmpstr("1/I",ystr) == 0) 
    576                         textstr_3 = "I(q=0) =  "  + num2str(1/W_coef[0]) 
     576                        izerr = abs(1/W_coef[0] - 1/(W_coef[0]+W_sigma[0])) 
     577                        textstr_3 = "I(q=0) =  "  + num2str(1/W_coef[0])+" ± " + num2str(izerr) 
    577578                        break 
    578579                endif 
Note: See TracChangeset for help on using the changeset viewer.