Changeset 714


Ignore:
Timestamp:
Jul 6, 2010 5:16:31 PM (12 years ago)
Author:
ajj
Message:

Fixing Fractal_PolyCore to use correct radius in S(q)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Models/NewModels_2009/Fractal_PolyCore_v40.ipf

    r570 r714  
    160160        //calculate S(q) 
    161161        sq = Df*exp(gammln(Df-1))*sin((Df-1)*atan(x*corr)) 
    162         sq /= (x*r0)^Df * (1 + 1/(x*corr)^2)^((Df-1)/2) 
     162        sq /= (x*(r0+thick))^Df * (1 + 1/(x*corr)^2)^((Df-1)/2) 
    163163        sq += 1 
    164164        //combine and return 
    165         ans = pq*sq + bkg 
    166  
     165        //ans = pq*sq + bkg 
     166        ans = pq +bkg 
     167         
    167168        return (ans) 
    168169End 
Note: See TracChangeset for help on using the changeset viewer.