Ignore:
Timestamp:
Aug 28, 2007 4:30:34 PM (15 years ago)
Author:
srkline
Message:

(1) - cursors can now be used to select a subrange of USANS data to fit. This is done by th fit wrapper, assigning a subrange of resW to the struct

(2) all of the smeared model functions are now in the latest form of Smear_Model_N() that is NOT a pointwise calculation anymore, since the USANS matrix smearing in inherently not so.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/Sphere_and_Struct.ipf

    r131 r151  
    400400 
    401401//      the name of your unsmeared model is the first argument 
    402         s.yW = Smear_Model_20(Sphere_HS,s.coefW,s.xW,s.resW) 
     402        Smear_Model_20(Sphere_HS,s.coefW,s.xW,s.yW,s.resW) 
    403403 
    404404        return(0) 
     
    410410 
    411411//      the name of your unsmeared model is the first argument 
    412         s.yW = Smear_Model_20(Sphere_SW,s.coefW,s.xW,s.resW) 
     412        Smear_Model_20(Sphere_SW,s.coefW,s.xW,s.yW,s.resW) 
    413413 
    414414        return(0) 
     
    420420 
    421421//      the name of your unsmeared model is the first argument 
    422         s.yW = Smear_Model_20(Sphere_SC,s.coefW,s.xW,s.resW) 
     422        Smear_Model_20(Sphere_SC,s.coefW,s.xW,s.yW,s.resW) 
    423423 
    424424        return(0) 
     
    430430 
    431431//      the name of your unsmeared model is the first argument 
    432         s.yW = Smear_Model_20(Sphere_SHS,s.coefW,s.xW,s.resW) 
     432        Smear_Model_20(Sphere_SHS,s.coefW,s.xW,s.yW,s.resW) 
    433433 
    434434        return(0) 
Note: See TracChangeset for help on using the changeset viewer.