Changeset d51ea74 in sasmodels
- Timestamp:
- Feb 25, 2016 7:37:32 AM (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:
- d2950f4
- Parents:
- fa8011eb
- Location:
- sasmodels/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/multi_shell.c
r0471c72 rd51ea74 9 9 { 10 10 //calculate with a loop, two shells at a time 11 int ii =0;12 double fval =0.0;11 int ii = 0; 12 double fval = 0.0; 13 13 double voli = 0.0; 14 14 const double sldi = core_sld-shell_sld; … … 28 28 29 29 //do 2 layers at a time 30 ii +=1;30 ii += 1; 31 31 32 } while(ii <=n_pairs-1); //change to make 0 < n_pairs < 2 correspond to33 //unilamellar vesicles (C. Glinka, 11/24/03)32 } while(ii <= n_pairs-1); //change to make 0 < n_pairs < 2 correspond to 33 //unilamellar vesicles (C. Glinka, 11/24/03) 34 34 35 35 fval *= 1.0e-4*fval/voli; -
sasmodels/models/multi_shell.py
rb7529e2 rd51ea74 4 4 interleaved with layers of solvent. For *N = 1*, this returns the VesicleModel. 5 5 6 For information about polarised and magnetic scattering, click here_. 7 8 .. _here: polar_mag_help.html 9 6 10 Definition 7 11 ---------- 12 13 This model is a trivial extension of the CoreShell function to a larger number 14 of shells. See the core_shell_ function for a diagram and documentation. 15 16 .. _core_shell: core_shell_sphere.html 17 18 Be careful! The SLDs and scale can be highly correlated. Hold as many of these 19 parameters fixed as possible. 8 20 9 21 .. figure:: img/multi_shell_fig1.jpg
Note: See TracChangeset
for help on using the changeset viewer.