- Timestamp:
- Mar 30, 2016 2:39:42 PM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 885ee37
- Parents:
- d0876c9d (diff), 364d8f7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- example
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
example/fit.py
r7cf2cfd r1182da5 31 31 model = Model(kernel, 32 32 scale=0.08, 33 r polar=15, requatorial=800,34 sld=.291, s olvent_sld=7.105,33 r_polar=15, r_equatorial=800, 34 sld=.291, sld_solvent=7.105, 35 35 background=0, 36 36 theta=90, phi=phi, 37 37 theta_pd=15, theta_pd_n=40, theta_pd_nsigma=3, 38 r polar_pd=0.222296, rpolar_pd_n=1, rpolar_pd_nsigma=0,39 r equatorial_pd=.000128, requatorial_pd_n=1, requatorial_pd_nsigma=0,38 r_polar_pd=0.222296, r_polar_pd_n=1, r_polar_pd_nsigma=0, 39 r_equatorial_pd=.000128, r_equatorial_pd_n=1, r_equatorial_pd_nsigma=0, 40 40 phi_pd=0, phi_pd_n=20, phi_pd_nsigma=3, 41 41 ) … … 43 43 44 44 # SET THE FITTING PARAMETERS 45 model.r polar.range(15, 1000)46 model.r equatorial.range(15, 1000)45 model.r_polar.range(15, 1000) 46 model.r_equatorial.range(15, 1000) 47 47 model.theta_pd.range(0, 360) 48 48 model.background.range(0,1000) … … 81 81 pars = dict( 82 82 scale=.01, background=35, 83 sld=.291, s olvent_sld=5.77,83 sld=.291, sld_solvent=5.77, 84 84 radius=250, length=178, 85 85 theta=90, phi=phi, … … 105 105 model = Model(kernel, 106 106 scale= .031, radius=19.5, thickness=30, length=22, 107 core_sld=7.105, shell_sld=.291, solvent_sld=7.105,107 sld_core=7.105, sld_shell=.291, sdl_solvent=7.105, 108 108 background=0, theta=0, phi=phi, 109 109 … … 132 132 model = Model(kernel, 133 133 scale=.08, radius=20, cap_radius=40, length=400, 134 sld _capcyl=1, sld_solv=6.3,134 sld=1, sld_solvent=6.3, 135 135 background=0, theta=0, phi=phi, 136 136 radius_pd=.1, radius_pd_n=5, radius_pd_nsigma=3, … … 147 147 model = Model(kernel, 148 148 scale=0.08, req_minor=15, req_major=20, rpolar=500, 149 sld Ell=7.105, solvent_sld=.291,149 sld=7.105, solvent_sld=.291, 150 150 background=5, theta=0, phi=phi, psi=0, 151 151 theta_pd=20, theta_pd_n=40, theta_pd_nsigma=3, -
example/model.py
r15d2285 r1182da5 17 17 model = Model(kernel, 18 18 scale=0.08, 19 r polar=15, requatorial=800,20 sld=.291, s olvent_sld=7.105,19 r_polar=15, r_equatorial=800, 20 sld=.291, sld_solvent=7.105, 21 21 background=0, 22 22 theta=90, phi=0, 23 23 theta_pd=15, theta_pd_n=40, theta_pd_nsigma=3, 24 r polar_pd=0.222296, rpolar_pd_n=1, rpolar_pd_nsigma=0,25 r equatorial_pd=.000128, requatorial_pd_n=1, requatorial_pd_nsigma=0,24 r_polar_pd=0.222296, r_polar_pd_n=1, r_polar_pd_nsigma=0, 25 r_equatorial_pd=.000128, r_equatorial_pd_n=1, r_equatorial_pd_nsigma=0, 26 26 phi_pd=0, phi_pd_n=20, phi_pd_nsigma=3, 27 27 ) 28 28 29 29 # SET THE FITTING PARAMETERS 30 model.r polar.range(15, 1000)31 model.r equatorial.range(15, 1000)30 model.r_polar.range(15, 1000) 31 model.r_equatorial.range(15, 1000) 32 32 model.theta_pd.range(0, 360) 33 33 model.background.range(0,1000)
Note: See TracChangeset
for help on using the changeset viewer.