Ignore:
Timestamp:
Apr 29, 2009 2:31:07 PM (13 years ago)
Author:
srkline
Message:

Added a procedure file that does the necessary wrapping for GenCurveFit?, since it's not a perfect drop-in replacement for FuncFit?. Required modification of the FitWrapper? to switch to GenCurveFit? as needed.
Switch between regular L-M and GenOp? using a menu item.a (sets a gobal)
Still ridiculously slow to use.
Can't yet be used with global fitting. Would be a real pain to implement. Can't imagine how slow that would be to use...

Bug fixes in PatchFiles? (default button for filter type) and Correct (use tolerance of +/- 0.01 pixel for determining of what is a "mismatch" of the beam centers. Problem cropped up with ICE, but should be fixed anyways)

File:
1 edited

Legend:

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

    r451 r495  
    895895        noadd_mat = 1           //initialize to 1 
    896896         
    897         If((xshift != 0) || (yshift != 0)) 
     897        If((abs(xshift) >= 0.01) || (abs(yshift) >= 0.01))                      //APR09 - change tolerance to handle ICE "precision" 
    898898                DoAlert 1,"Do you want to ignore the beam center mismatch?" 
    899899                if(V_flag==1)           //yes -> just go on 
     
    901901                        yshift=0 
    902902                endif 
     903        else 
     904                // "mismatch" is simply a python type conversion error 
     905                xshift=0 
     906                yshift=0 
    903907        endif 
    904908         
Note: See TracChangeset for help on using the changeset viewer.