Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/star_polymer.py

    rd439007 r30b60d2  
    77emanating from a common central (in the case of this model) point.  It is 
    88derived as a special case of on the Benoit model for general branched 
    9 polymers\ [#CITBenoit]_ as also used by Richter ''et. al.''\ [#CITRichter]_ 
     9polymers\ [#CITBenoit]_ as also used by Richter *et al.*\ [#CITRichter]_ 
    1010 
    1111For a star with $f$ arms the scattering intensity $I(q)$ is calculated as 
     
    8383source = ["star_polymer.c"] 
    8484 
    85 demo = dict(scale=1, background=0, 
    86             rg_squared=100.0, 
    87             arms=3.0) 
     85def random(): 
     86    import numpy as np 
     87    pars = dict( 
     88        #background=0, 
     89        scale=10**np.random.uniform(1, 4), 
     90        rg_squared=10**np.random.uniform(1, 8), 
     91        arms=np.random.uniform(1, 6), 
     92    ) 
     93    return pars 
    8894 
    8995tests = [[{'rg_squared': 2.0, 
Note: See TracChangeset for help on using the changeset viewer.