Changeset 404ebbd in sasmodels for sasmodels/models/mono_gauss_coil.py
- Timestamp:
- Jul 30, 2017 12:56:22 AM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 48462b0
- Parents:
- a151caa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/mono_gauss_coil.py
r3330bb4 r404ebbd 62 62 63 63 description = """ 64 Evaluates the scattering from 64 Evaluates the scattering from 65 65 monodisperse polymer chains. 66 66 """ … … 86 86 Iq.vectorized = True # Iq accepts an array of q values 87 87 88 def random(): 89 import numpy as np 90 rg = 10**np.random.uniform(0, 4) 91 #rg = 1e3 92 pars = dict( 93 #scale=1, background=0, 94 i_zero=1e7, # i_zero is a simple scale 95 rg=rg, 96 ) 97 return pars 98 88 99 demo = dict(scale=1.0, i_zero=70.0, rg=75.0, background=0.0) 89 100
Note: See TracChangeset
for help on using the changeset viewer.