Changeset 746


Ignore:
Timestamp:
Sep 22, 2010 9:25:37 PM (12 years ago)
Author:
srkline
Message:

Fixed bug #305. Linearized fit needed flag /I=0 since the weights are 1/err. This un-does a previous change where /I=1 was added.

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

Legend:

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

    r616 r746  
    518518        //try including residuals on the graph /R=residWave, explicitly place on new axis 
    519519        //if only /R used, residuals are automatically placed on graph 
    520          
    521         CurveFit line yAxisWave(xcsr(A),xcsr(B)) /I=1 /X=xAxisWave /W=yWtWave /D   
     520        // -- NOTE that A_Rescale_Data() calculates the weighting wave as 1/err (like the old days) so the flag is correctly 
     521        // /I=0, not /I=1 
     522         
     523        CurveFit line yAxisWave(xcsr(A),xcsr(B)) /I=0 /X=xAxisWave /W=yWtWave /D   
    522524        //CurveFit line yAxisWave(xcsr(A),xcsr(B)) /X=xAxisWave /W=yWtWave  /R /D   
    523525        ModifyGraph rgb(fit_yAxisWave)=(0,0,0) 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/MultScatter_MonteCarlo_2D.ipf

    r737 r746  
    19971997         
    19981998        Wave samInten=$"root:Simulation:Simulation_i"           // this will exist and send the smeared calculation to the corect DF 
    1999         Duplicate samInten, root:Simulation:Simulation_EC_i 
     1999        Duplicate/O samInten, root:Simulation:Simulation_EC_i 
    20002000        Wave inten_EC=$"root:Simulation:Simulation_EC_i" 
    20012001 
Note: See TracChangeset for help on using the changeset viewer.