Changes in sasmodels/models/star_polymer.py [d439007:30b60d2] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/star_polymer.py
rd439007 r30b60d2 7 7 emanating from a common central (in the case of this model) point. It is 8 8 derived as a special case of on the Benoit model for general branched 9 polymers\ [#CITBenoit]_ as also used by Richter ''et. al.''\ [#CITRichter]_9 polymers\ [#CITBenoit]_ as also used by Richter *et al.*\ [#CITRichter]_ 10 10 11 11 For a star with $f$ arms the scattering intensity $I(q)$ is calculated as … … 83 83 source = ["star_polymer.c"] 84 84 85 demo = dict(scale=1, background=0, 86 rg_squared=100.0, 87 arms=3.0) 85 def 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 88 94 89 95 tests = [[{'rg_squared': 2.0,
Note: See TracChangeset
for help on using the changeset viewer.