1 | """ |
---|
2 | Parameter conversion table |
---|
3 | |
---|
4 | *CONVERSION_TABLE* gives the old model name and a dictionary of old parameter |
---|
5 | names for each parameter in sasmodels. This is used by :mod:`convert` to |
---|
6 | determine the equivalent parameter set when comparing a sasmodels model to |
---|
7 | the models defined in SasView 3.1. |
---|
8 | """ |
---|
9 | |
---|
10 | |
---|
11 | CONVERSION_TABLE = { |
---|
12 | "adsorbed_layer": [ |
---|
13 | "Core2ndMomentModel", |
---|
14 | { |
---|
15 | "scale": "scale", |
---|
16 | "second_moment": "second_moment", |
---|
17 | "density_shell": "density_poly", |
---|
18 | "sld_solvent": "sld_solv", |
---|
19 | "radius": "radius_core", |
---|
20 | "volfraction": "volf_cores", |
---|
21 | "background": "background", |
---|
22 | "adsorbed_amount": "ads_amount", |
---|
23 | "sld_shell": "sld_poly" |
---|
24 | } |
---|
25 | ], |
---|
26 | "barbell": [ |
---|
27 | "BarBellModel", |
---|
28 | { |
---|
29 | "sld": "sld_barbell", |
---|
30 | "length": "len_bar", |
---|
31 | "bell_radius": "rad_bell", |
---|
32 | "radius": "rad_bar", |
---|
33 | "sld_solvent": "sld_solv" |
---|
34 | } |
---|
35 | ], |
---|
36 | "bcc_paracrystal": [ |
---|
37 | "BCCrystalModel", |
---|
38 | { |
---|
39 | "sld": "sldSph", |
---|
40 | "sld_solvent": "sldSolv" |
---|
41 | } |
---|
42 | ], |
---|
43 | "be_polyelectrolyte": [ |
---|
44 | "BEPolyelectrolyte", |
---|
45 | { |
---|
46 | "ionization_degree": "alpha", |
---|
47 | "polymer_concentration": "c", |
---|
48 | "salt_concentration": "cs", |
---|
49 | "virial_param": "h", |
---|
50 | "background": "background", |
---|
51 | "contrast_factor": "k", |
---|
52 | "bjerrum_length": "lb", |
---|
53 | "monomer_length": "b" |
---|
54 | } |
---|
55 | ], |
---|
56 | "binary_hard_sphere": [ |
---|
57 | "BinaryHSModel", |
---|
58 | { |
---|
59 | "sld_sm": "ss_sld", |
---|
60 | "sld_lg": "ls_sld", |
---|
61 | "volfraction_sm": "vol_frac_ss", |
---|
62 | "radius_lg": "l_radius", |
---|
63 | "radius_sm": "s_radius", |
---|
64 | "volfraction_lg": "vol_frac_ls", |
---|
65 | "sld_solvent": "solvent_sld" |
---|
66 | } |
---|
67 | ], |
---|
68 | "broad_peak": [ |
---|
69 | "BroadPeakModel", |
---|
70 | { |
---|
71 | "peak_pos": "q_peak", |
---|
72 | "scale": None, |
---|
73 | "lorentz_length": "length_l", |
---|
74 | "porod_scale": "scale_p", |
---|
75 | "lorentz_exp": "exponent_l", |
---|
76 | "lorentz_scale": "scale_l", |
---|
77 | "porod_exp": "exponent_p" |
---|
78 | } |
---|
79 | ], |
---|
80 | "capped_cylinder": [ |
---|
81 | "CappedCylinderModel", |
---|
82 | { |
---|
83 | "sld": "sld_capcyl", |
---|
84 | "length": "len_cyl", |
---|
85 | "cap_radius": "rad_cap", |
---|
86 | "radius": "rad_cyl", |
---|
87 | "sld_solvent": "sld_solv" |
---|
88 | } |
---|
89 | ], |
---|
90 | "core_multi_shell": [ |
---|
91 | "CoreMultiShellModel", |
---|
92 | { |
---|
93 | "thickness": "thick_shell", |
---|
94 | "sld": "sld_shell", |
---|
95 | "radius": "rad_core0", |
---|
96 | "sld_core": "sld_core0", |
---|
97 | "sld_solvent": "sld_solv", |
---|
98 | "n": "n_shells", |
---|
99 | "M0:sld_core": "M0_sld_core0", |
---|
100 | "mtheta:sld_core": "M_theta_core0", |
---|
101 | "mphi:sld_core": "M_phi_core0", |
---|
102 | "M0:sld1": "M0_sld_shell1", |
---|
103 | "mtheta:sld1": "M_theta_shell1", |
---|
104 | "mphi:sld1": "M_phi_shell1", |
---|
105 | "M0:sld2": "M0_sld_shell2", |
---|
106 | "mtheta:sld2": "M_theta_shell2", |
---|
107 | "mphi:sld2": "M_phi_shell2", |
---|
108 | "M0:sld3": "M0_sld_shell3", |
---|
109 | "mtheta:sld3": "M_theta_shell3", |
---|
110 | "mphi:sld3": "M_phi_shell3", |
---|
111 | "M0:sld4": "M0_sld_shell4", |
---|
112 | "mtheta:sld4": "M_theta_shell4", |
---|
113 | "mphi:sld4": "M_phi_shell4", |
---|
114 | "M0:sld_solvent": "M0_sld_solv", |
---|
115 | "mtheta:sld_solvent": "M_theta_solv", |
---|
116 | "mphi:sld_solvent": "M_phi_solv", |
---|
117 | "up:frac_i": "Up_frac_i", |
---|
118 | "up:frac_f": "Up_frac_f", |
---|
119 | "up:angle": "Up_theta", |
---|
120 | } |
---|
121 | ], |
---|
122 | "core_shell_bicelle": [ |
---|
123 | "CoreShellBicelleModel", |
---|
124 | { |
---|
125 | "phi": "axis_phi", |
---|
126 | "sld_core": "core_sld", |
---|
127 | "sld_rim": "rim_sld", |
---|
128 | "face_thickness": "face_thick", |
---|
129 | "sld_solvent": "solvent_sld", |
---|
130 | "rim_thickness": "rim_thick", |
---|
131 | "sld_face": "face_sld", |
---|
132 | "theta": "axis_theta" |
---|
133 | } |
---|
134 | ], |
---|
135 | "core_shell_cylinder": [ |
---|
136 | "CoreShellCylinderModel", |
---|
137 | { |
---|
138 | "theta": "axis_theta", |
---|
139 | "phi": "axis_phi", |
---|
140 | "sld_shell": "shell_sld", |
---|
141 | "sld_solvent": "solvent_sld", |
---|
142 | "sld_core": "core_sld" |
---|
143 | } |
---|
144 | ], |
---|
145 | "core_shell_ellipsoid": [ |
---|
146 | "CoreShellEllipsoidModel", |
---|
147 | { |
---|
148 | "phi": "axis_phi", |
---|
149 | "sld_core": "sld_core", |
---|
150 | "polar_shell": "polar_shell", |
---|
151 | "sld_solvent": "sld_solvent", |
---|
152 | "equat_shell": "equat_shell", |
---|
153 | "equat_core": "equat_core", |
---|
154 | "theta": "axis_theta", |
---|
155 | "polar_core": "polar_core", |
---|
156 | "sld_shell": "sld_shell" |
---|
157 | } |
---|
158 | ], |
---|
159 | "core_shell_ellipsoid_xt": [ |
---|
160 | "CoreShellEllipsoidXTModel", |
---|
161 | { |
---|
162 | "phi": "axis_phi", |
---|
163 | "sld_core": "sld_core", |
---|
164 | "x_core": "X_core", |
---|
165 | "sld_solvent": "sld_solvent", |
---|
166 | "t_shell": "T_shell", |
---|
167 | "x_polar_shell": "XpolarShell", |
---|
168 | "theta": "axis_theta", |
---|
169 | "sld_shell": "sld_shell" |
---|
170 | } |
---|
171 | ], |
---|
172 | "core_shell_parallelepiped": [ |
---|
173 | "CSParallelepipedModel", |
---|
174 | { |
---|
175 | "phi": "parallel_phi", |
---|
176 | "psi": "parallel_psi", |
---|
177 | "sld_core": "sld_pcore", |
---|
178 | "sld_c": "sld_rimC", |
---|
179 | "sld_b": "sld_rimB", |
---|
180 | "sld_solvent": "sld_solv", |
---|
181 | "a_side": "shortA", |
---|
182 | "sld_a": "sld_rimA", |
---|
183 | "b_side": "midB", |
---|
184 | "crim_thickness": "rimC", |
---|
185 | "theta": "parallel_theta", |
---|
186 | "arim_thickness": "rimA", |
---|
187 | "c_side": "longC", |
---|
188 | "brim_thickness": "rimB" |
---|
189 | } |
---|
190 | ], |
---|
191 | "core_shell_sphere": [ |
---|
192 | "CoreShellModel", |
---|
193 | { |
---|
194 | "sld_core": "core_sld", |
---|
195 | "sld_shell": "shell_sld", |
---|
196 | "sld_solvent": "solvent_sld", |
---|
197 | "M0:sld_core": "M0_sld_core", |
---|
198 | "mtheta:sld_core": "M_theta_core", |
---|
199 | "mphi:sld_core": "M_phi_core", |
---|
200 | "M0:sld_shell": "M0_sld_shell", |
---|
201 | "mtheta:sld_shell": "M_theta_shell", |
---|
202 | "mphi:sld_shell": "M_phi_shell", |
---|
203 | "M0:sld_solvent": "M0_sld_solv", |
---|
204 | "mtheta:sld_solvent": "M_theta_solv", |
---|
205 | "mphi:sld_solvent": "M_phi_solv", |
---|
206 | "up:frac_i": "Up_frac_i", |
---|
207 | "up:frac_f": "Up_frac_f", |
---|
208 | "up:angle": "Up_theta" |
---|
209 | } |
---|
210 | ], |
---|
211 | "correlation_length": [ |
---|
212 | "CorrLengthModel", |
---|
213 | { |
---|
214 | "porod_scale": "scale_p", |
---|
215 | "lorentz_scale": "scale_l", |
---|
216 | "exponent_p": "exponent_p", |
---|
217 | "exponent_l": "exponent_l", |
---|
218 | "cor_length": "length_l" |
---|
219 | } |
---|
220 | ], |
---|
221 | "cylinder": [ |
---|
222 | "CylinderModel", |
---|
223 | { |
---|
224 | "sld": "sldCyl", |
---|
225 | "theta": "cyl_theta", |
---|
226 | "phi": "cyl_phi", |
---|
227 | "sld_solvent": "sldSolv", |
---|
228 | "M0:sld": "M0_sld_cyl", |
---|
229 | "mtheta:sld": "M_theta_cyl", |
---|
230 | "mphi:sld": "M_phi_cyl", |
---|
231 | "M0:sld_solvent": "M0_sld_solv", |
---|
232 | "mtheta:sld_solvent": "M_theta_solv", |
---|
233 | "mphi:sld_solvent": "M_phi_solv", |
---|
234 | "up:frac_i": "Up_frac_i", |
---|
235 | "up:frac_f": "Up_frac_f", |
---|
236 | "up:angle": "Up_theta" |
---|
237 | } |
---|
238 | ], |
---|
239 | "dab": [ |
---|
240 | "DABModel", |
---|
241 | { |
---|
242 | "length": "length" |
---|
243 | } |
---|
244 | ], |
---|
245 | "ellipsoid": [ |
---|
246 | "EllipsoidModel", |
---|
247 | { |
---|
248 | "phi": "axis_phi", |
---|
249 | "r_equatorial": "radius_b", |
---|
250 | "sld": "sldEll", |
---|
251 | "theta": "axis_theta", |
---|
252 | "r_polar": "radius_a", |
---|
253 | "sld_solvent": "sldSolv" |
---|
254 | } |
---|
255 | ], |
---|
256 | "elliptical_cylinder": [ |
---|
257 | "EllipticalCylinderModel", |
---|
258 | { |
---|
259 | "phi": "cyl_phi", |
---|
260 | "psi": "cyl_psi", |
---|
261 | "theta": "cyl_theta", |
---|
262 | "sld": "sldCyl", |
---|
263 | "axis_ratio": "r_ratio", |
---|
264 | "sld_solvent": "sldSolv" |
---|
265 | } |
---|
266 | ], |
---|
267 | "fcc_paracrystal": [ |
---|
268 | "FCCrystalModel", |
---|
269 | { |
---|
270 | "sld": "sldSph", |
---|
271 | "sld_solvent": "sldSolv" |
---|
272 | } |
---|
273 | ], |
---|
274 | "flexible_cylinder": [ |
---|
275 | "FlexibleCylinderModel", |
---|
276 | { |
---|
277 | "sld": "sldCyl", |
---|
278 | "sld_solvent": "sldSolv" |
---|
279 | } |
---|
280 | ], |
---|
281 | "flexible_cylinder_elliptical": [ |
---|
282 | "FlexCylEllipXModel", |
---|
283 | { |
---|
284 | "sld": "sldCyl", |
---|
285 | "sld_solvent": "sldSolv" |
---|
286 | } |
---|
287 | ], |
---|
288 | "fractal": [ |
---|
289 | "FractalModel", |
---|
290 | { |
---|
291 | "sld_block": "sldBlock", |
---|
292 | "radius": "radius", |
---|
293 | "cor_length": "cor_length", |
---|
294 | "sld_solvent": "sldSolv", |
---|
295 | "fractal_dim": "fractal_dim" |
---|
296 | } |
---|
297 | ], |
---|
298 | "fractal_core_shell": [ |
---|
299 | "FractalCoreShellModel", |
---|
300 | { |
---|
301 | "sld_shell": "shell_sld", |
---|
302 | "sld_solvent": "solvent_sld", |
---|
303 | "sld_core": "core_sld" |
---|
304 | } |
---|
305 | ], |
---|
306 | "fuzzy_sphere": [ |
---|
307 | "FuzzySphereModel", |
---|
308 | { |
---|
309 | "sld": "sldSph", |
---|
310 | "fuzziness": "fuzziness", |
---|
311 | "radius": "radius", |
---|
312 | "sld_solvent": "sldSolv" |
---|
313 | } |
---|
314 | ], |
---|
315 | "gauss_lorentz_gel": [ |
---|
316 | "GaussLorentzGelModel", |
---|
317 | { |
---|
318 | "gauss_scale_factor": "scale_g", |
---|
319 | "dynamic_cor_length": "dyn_colength", |
---|
320 | "static_cor_length": "stat_colength", |
---|
321 | "background": "background", |
---|
322 | "lorentz_scale_factor": "scale_l" |
---|
323 | } |
---|
324 | ], |
---|
325 | "gaussian_peak": [ |
---|
326 | "PeakGaussModel", |
---|
327 | { |
---|
328 | "sigma": "B" |
---|
329 | } |
---|
330 | ], |
---|
331 | "gel_fit": [ |
---|
332 | "GelFitModel", |
---|
333 | { |
---|
334 | "gyration_radius": "radius", |
---|
335 | "lorentzian_scale": "lScale", |
---|
336 | "fractal_exp": "FractalExp", |
---|
337 | "cor_length": "zeta", |
---|
338 | "guinier_scale": "gScale" |
---|
339 | } |
---|
340 | ], |
---|
341 | "guinier": [ |
---|
342 | "GuinierModel", |
---|
343 | { |
---|
344 | "rg": "rg" |
---|
345 | } |
---|
346 | ], |
---|
347 | "guinier_porod": [ |
---|
348 | "GuinierPorodModel", |
---|
349 | { |
---|
350 | "s": "dim", |
---|
351 | "rg": "rg", |
---|
352 | "m": "m", |
---|
353 | "scale": "scale", |
---|
354 | "background": "background" |
---|
355 | } |
---|
356 | ], |
---|
357 | "hardsphere": [ |
---|
358 | "HardsphereStructure", |
---|
359 | { |
---|
360 | "radius_effective_pd": "effect_radius_pd", |
---|
361 | "radius_effective": "effect_radius", |
---|
362 | "radius_effective_pd_n": "effect_radius_pd_n" |
---|
363 | } |
---|
364 | ], |
---|
365 | "hayter_msa": [ |
---|
366 | "HayterMSAStructure", |
---|
367 | { |
---|
368 | "salt_concentration": "saltconc", |
---|
369 | "radius_effective_pd": "effect_radius_pd", |
---|
370 | "radius_effective": "effect_radius", |
---|
371 | "radius_effective_pd_n": "effect_radius_pd_n" |
---|
372 | } |
---|
373 | ], |
---|
374 | "hollow_cylinder": [ |
---|
375 | "HollowCylinderModel", |
---|
376 | { |
---|
377 | "phi": "axis_phi", |
---|
378 | "scale": "scale", |
---|
379 | "core_radius": "core_radius", |
---|
380 | "sld_solvent": "sldSolv", |
---|
381 | "length": "length", |
---|
382 | "radius": "radius", |
---|
383 | "background": "background", |
---|
384 | "sld": "sldCyl", |
---|
385 | "theta": "axis_theta" |
---|
386 | } |
---|
387 | ], |
---|
388 | "hollow_rectangular_prism": [ |
---|
389 | "RectangularHollowPrismModel", |
---|
390 | { |
---|
391 | "b2a_ratio": "b2a_ratio", |
---|
392 | "a_side": "short_side", |
---|
393 | "sld": "sldPipe", |
---|
394 | "c_side": "c2a_ratio", |
---|
395 | "sld_solvent": "sldSolv", |
---|
396 | "thickness": "thickness" |
---|
397 | } |
---|
398 | ], |
---|
399 | "hollow_rectangular_prism_thin_walls": [ |
---|
400 | "RectangularHollowPrismInfThinWallsModel", |
---|
401 | { |
---|
402 | "sld": "sldPipe", |
---|
403 | "b2a_ratio": "b2a_ratio", |
---|
404 | "a_side": "short_side", |
---|
405 | "c_side": "c2a_ratio", |
---|
406 | "sld_solvent": "sldSolv" |
---|
407 | } |
---|
408 | ], |
---|
409 | "lamellar": [ |
---|
410 | "LamellarModel", |
---|
411 | { |
---|
412 | "sld": "sld_bi", |
---|
413 | "sld_solvent": "sld_sol", |
---|
414 | "thickness": "bi_thick" |
---|
415 | } |
---|
416 | ], |
---|
417 | "lamellar_hg": [ |
---|
418 | "LamellarFFHGModel", |
---|
419 | { |
---|
420 | "sld": "sld_tail", |
---|
421 | "sld_solvent": "sld_solvent", |
---|
422 | "sld_head": "sld_head", |
---|
423 | "tail_length": "t_length", |
---|
424 | "head_length": "h_thickness" |
---|
425 | } |
---|
426 | ], |
---|
427 | "lamellar_hg_stack_caille": [ |
---|
428 | "LamellarPSHGModel", |
---|
429 | { |
---|
430 | "Caille_parameter": "caille", |
---|
431 | "Nlayers": "n_plates", |
---|
432 | "sld_head": "sld_head", |
---|
433 | "tail_length": "deltaT", |
---|
434 | "head_length": "deltaH", |
---|
435 | "sld": "sld_tail", |
---|
436 | "sld_solvent": "sld_solvent" |
---|
437 | } |
---|
438 | ], |
---|
439 | "lamellar_stack_caille": [ |
---|
440 | "LamellarPSModel", |
---|
441 | { |
---|
442 | "sld": "sld_bi", |
---|
443 | "Caille_parameter": "caille", |
---|
444 | "Nlayers": "N_plates", |
---|
445 | "sld_solvent": "sld_sol", |
---|
446 | "thickness": "delta" |
---|
447 | } |
---|
448 | ], |
---|
449 | "lamellar_stack_paracrystal": [ |
---|
450 | "LamellarPCrystalModel", |
---|
451 | { |
---|
452 | "sld": "sld_layer", |
---|
453 | "spacing_polydisp": "pd_spacing", |
---|
454 | "sld_solvent": "sld_solvent" |
---|
455 | } |
---|
456 | ], |
---|
457 | "line": [ |
---|
458 | "LineModel", |
---|
459 | { |
---|
460 | "slope": "B", |
---|
461 | "scale": None, |
---|
462 | "background": None, |
---|
463 | "intercept": "A" |
---|
464 | } |
---|
465 | ], |
---|
466 | "linear_pearls": [ |
---|
467 | "LinearPearlsModel", |
---|
468 | { |
---|
469 | "sld": "sld_pearl", |
---|
470 | "sld_solvent": "sld_solv", |
---|
471 | "edge_sep": "edge_separation" |
---|
472 | } |
---|
473 | ], |
---|
474 | "lorentz": [ |
---|
475 | "LorentzModel", |
---|
476 | { |
---|
477 | "cor_length": "length" |
---|
478 | } |
---|
479 | ], |
---|
480 | "mass_fractal": [ |
---|
481 | "MassFractalModel", |
---|
482 | { |
---|
483 | "cutoff_length": "co_length", |
---|
484 | "radius": "radius", |
---|
485 | "mass_dim": "mass_dim" |
---|
486 | } |
---|
487 | ], |
---|
488 | "mass_surface_fractal": [ |
---|
489 | "MassSurfaceFractal", |
---|
490 | { |
---|
491 | "cluster_rg": "cluster_rg", |
---|
492 | "mass_dim": "mass_dim", |
---|
493 | "radius": "radius", |
---|
494 | "surface_dim": "surface_dim", |
---|
495 | "primary_rg": "primary_rg" |
---|
496 | } |
---|
497 | ], |
---|
498 | "mono_gauss_coil": [ |
---|
499 | "DebyeModel", |
---|
500 | { |
---|
501 | "radius_gyration": "rg", |
---|
502 | "scale": "scale", |
---|
503 | "background": "background" |
---|
504 | } |
---|
505 | ], |
---|
506 | "multilayer_vesicle": [ |
---|
507 | "MultiShellModel", |
---|
508 | { |
---|
509 | "radius": "core_radius", |
---|
510 | "sld_solvent": "core_sld", |
---|
511 | "n_pairs": "n_pairs", |
---|
512 | "thick_shell": "s_thickness", |
---|
513 | "sld": "shell_sld", |
---|
514 | "thick_solvent": "w_thickness", |
---|
515 | } |
---|
516 | ], |
---|
517 | "onion": [ |
---|
518 | "OnionExpShellModel", |
---|
519 | { |
---|
520 | "n_shells": "n_shells", |
---|
521 | "A": "A_shell", |
---|
522 | "sld_core": "sld_core0", |
---|
523 | "core_radius": "rad_core0", |
---|
524 | "sld_solvent": "sld_solv", |
---|
525 | "thickness": "thick_shell", |
---|
526 | "sld_in": "sld_in_shell", |
---|
527 | "sld_out": "sld_out_shell" |
---|
528 | } |
---|
529 | ], |
---|
530 | "parallelepiped": [ |
---|
531 | "ParallelepipedModel", |
---|
532 | { |
---|
533 | "phi": "parallel_phi", |
---|
534 | "psi": "parallel_psi", |
---|
535 | "sld_solvent": "sldSolv", |
---|
536 | "a_side": "short_a", |
---|
537 | "b_side": "short_b", |
---|
538 | "sld": "sldPipe", |
---|
539 | "theta": "parallel_theta", |
---|
540 | "c_side": "long_c", |
---|
541 | "M0:sld": "M0_sld_pipe", |
---|
542 | "mtheta:sld": "M_theta_pipe", |
---|
543 | "mphi:sld": "M_phi_pipe", |
---|
544 | "M0:sld_solvent": "M0_sld_solv", |
---|
545 | "mtheta:sld_solvent": "M_theta_solv", |
---|
546 | "mphi:sld_solvent": "M_phi_solv", |
---|
547 | "up:frac_i": "Up_frac_i", |
---|
548 | "up:frac_f": "Up_frac_f", |
---|
549 | "up:angle": "Up_theta", |
---|
550 | } |
---|
551 | ], |
---|
552 | "peak_lorentz": [ |
---|
553 | "PeakLorentzModel", |
---|
554 | { |
---|
555 | "peak_pos": "q0", |
---|
556 | "peak_hwhm": "B" |
---|
557 | } |
---|
558 | ], |
---|
559 | "pearl_necklace": [ |
---|
560 | "PearlNecklaceModel", |
---|
561 | { |
---|
562 | "scale": "scale", |
---|
563 | "string_thickness": "thick_string", |
---|
564 | "sld_string": "sld_string", |
---|
565 | "sld_solvent": "sld_solv", |
---|
566 | "edge_separation": "edge_separation", |
---|
567 | "number_of_pearls": "num_pearls", |
---|
568 | "radius": "radius", |
---|
569 | "background": "background", |
---|
570 | "sld": "sld_pearl" |
---|
571 | } |
---|
572 | ], |
---|
573 | "poly_gauss_coil": [ |
---|
574 | "Poly_GaussCoil", |
---|
575 | { |
---|
576 | "radius_gyration": "rg", |
---|
577 | "polydispersity": "poly_m", |
---|
578 | "scale": "scale", |
---|
579 | "background": "background" |
---|
580 | } |
---|
581 | ], |
---|
582 | "polymer_excl_volume": [ |
---|
583 | "PolymerExclVolume", |
---|
584 | { |
---|
585 | "rg": "rg", |
---|
586 | "scale": "scale", |
---|
587 | "background": "background", |
---|
588 | "porod_exp": "m" |
---|
589 | } |
---|
590 | ], |
---|
591 | "polymer_micelle": [ |
---|
592 | "MicelleSphCoreModel", |
---|
593 | { |
---|
594 | "sld_corona": "rho_corona", |
---|
595 | "sld_solvent": "rho_solv", |
---|
596 | "sld_core": "rho_core" |
---|
597 | } |
---|
598 | ], |
---|
599 | "porod": [ |
---|
600 | "PorodModel", |
---|
601 | { |
---|
602 | "scale": "scale", |
---|
603 | "background": "background" |
---|
604 | } |
---|
605 | ], |
---|
606 | "power_law": [ |
---|
607 | "PowerLawAbsModel", |
---|
608 | { |
---|
609 | "scale": "scale", |
---|
610 | "background": "background", |
---|
611 | "power": "m" |
---|
612 | } |
---|
613 | ], |
---|
614 | "pringle": [ |
---|
615 | "PringlesModel", |
---|
616 | { |
---|
617 | "scale": "scale", |
---|
618 | "solvent_sld": "sld_solvent", |
---|
619 | "thickness": "thickness", |
---|
620 | "beta": "beta", |
---|
621 | "radius": "radius", |
---|
622 | "background": "background", |
---|
623 | "alpha": "alpha", |
---|
624 | "pringle_sld": "sld_pringle" |
---|
625 | } |
---|
626 | ], |
---|
627 | "raspberry": [ |
---|
628 | "RaspBerryModel", |
---|
629 | { |
---|
630 | "volfraction_lg": "volf_Lsph", |
---|
631 | "volfraction_sm": "volf_Ssph", |
---|
632 | "radius_sm": "radius_Ssph", |
---|
633 | "radius_lg": "radius_Lsph", |
---|
634 | "sld_lg": "sld_Lsph", |
---|
635 | "sld_sm": "sld_Ssph", |
---|
636 | "sld_solvent": "sld_solv", |
---|
637 | "surface_fraction": "surfrac_Ssph", |
---|
638 | "penetration": "delta_Ssph" |
---|
639 | } |
---|
640 | ], |
---|
641 | "rectangular_prism": [ |
---|
642 | "RectangularPrismModel", |
---|
643 | { |
---|
644 | "sld": "sldPipe", |
---|
645 | "b2a_ratio": "b2a_ratio", |
---|
646 | "a_side": "short_side", |
---|
647 | "c_side": "c2a_ratio", |
---|
648 | "sld_solvent": "sldSolv" |
---|
649 | } |
---|
650 | ], |
---|
651 | "rpa": [ |
---|
652 | "RPA10Model", |
---|
653 | { |
---|
654 | "K12": "Kab", "K13": "Kac", "K14": "Kad", |
---|
655 | "K23": "Kbc", "K24": "Kbd", "K34": "Kcd", |
---|
656 | "N1": "Na", "N2": "Nb", "N3": "Nc", "N4": "Nd", |
---|
657 | "L1": "La", "L2": "Lb", "L3": "Lc", "L4": "Ld", |
---|
658 | "v1": "va", "v2": "vb", "v3": "vc", "v4": "vd", |
---|
659 | "b1": "ba", "b2": "bb", "b3": "bc", "b4": "bd", |
---|
660 | "Phi1": "Phia", "Phi2": "Phib", "Phi3": "Phic", "Phi4": "Phid", |
---|
661 | "case_num": "lcase_n" |
---|
662 | } |
---|
663 | ], |
---|
664 | "sc_paracrystal": [ |
---|
665 | "SCCrystalModel", |
---|
666 | { |
---|
667 | "sld": "sldSph", |
---|
668 | "sld_solvent": "sldSolv" |
---|
669 | } |
---|
670 | ], |
---|
671 | "sphere": [ |
---|
672 | "SphereModel", |
---|
673 | { |
---|
674 | "sld": "sldSph", |
---|
675 | "radius": "radius", |
---|
676 | "sld_solvent": "sldSolv", |
---|
677 | "M0:sld": "M0_sld_sph", |
---|
678 | "mtheta:sld": "M_theta_sph", |
---|
679 | "mphi:sld": "M_phi_sph", |
---|
680 | "M0:sld_solvent": "M0_sld_solv", |
---|
681 | "mtheta:sld_solvent": "M_theta_solv", |
---|
682 | "mphi:sld_solvent": "M_phi_solv", |
---|
683 | "up:frac_i": "Up_frac_i", |
---|
684 | "up:frac_f": "Up_frac_f", |
---|
685 | "up:angle": "Up_theta" |
---|
686 | } |
---|
687 | ], |
---|
688 | "spherical_sld": [ |
---|
689 | "SphericalSLDModel", |
---|
690 | # Be lazy and use a generator expression to define |
---|
691 | # sld1: sld_flat0, ... |
---|
692 | # thickness1: thick_flat0, ... |
---|
693 | # interface1: thick_inter0, ... |
---|
694 | # shape1: func_inter0, ... |
---|
695 | # nu1: nu_inter0, ... |
---|
696 | # but override thickness1 => rad_cor0 and sld1 => sld_core0. |
---|
697 | # Note: explicit key,value pairs given by **{...} override the |
---|
698 | # keys from the gnerator expression ((k,v) for k,v in seq) when |
---|
699 | # used as dict((generator), **{...}) |
---|
700 | dict(((field_new+str(index+1), field_old+str(index)) |
---|
701 | for field_new, field_old in [("sld", "sld_flat"), |
---|
702 | ("thickness", "thick_flat"), |
---|
703 | ("interface", "thick_inter"), |
---|
704 | ("shape", "func_inter"), |
---|
705 | ("nu", "nu_inter"),] |
---|
706 | for index in range(11)), |
---|
707 | **{ |
---|
708 | "n_shells": "n_shells", |
---|
709 | "n_steps": "npts_inter", |
---|
710 | "sld_solvent": "sld_solv", |
---|
711 | "thickness1": "rad_core0", |
---|
712 | "sld1": "sld_core0", |
---|
713 | }) |
---|
714 | ], |
---|
715 | "squarewell": [ |
---|
716 | "SquareWellStructure", |
---|
717 | { |
---|
718 | "radius_effective_pd": "effect_radius_pd", |
---|
719 | "radius_effective": "effect_radius", |
---|
720 | "radius_effective_pd_n": "effect_radius_pd_n" |
---|
721 | } |
---|
722 | ], |
---|
723 | "stacked_disks": [ |
---|
724 | "StackedDisksModel", |
---|
725 | { |
---|
726 | "phi": "axis_phi", |
---|
727 | "sld_layer": "layer_sld", |
---|
728 | "sld_core": "core_sld", |
---|
729 | "theta": "axis_theta", |
---|
730 | "sld_solvent": "solvent_sld", |
---|
731 | "n_stacking": "n_stacking" |
---|
732 | } |
---|
733 | ], |
---|
734 | "star_polymer": [ |
---|
735 | "StarPolymer", |
---|
736 | { |
---|
737 | "arms": "arms", |
---|
738 | "rg_squared": "R2" |
---|
739 | } |
---|
740 | ], |
---|
741 | "stickyhardsphere": [ |
---|
742 | "StickyHSStructure", |
---|
743 | { |
---|
744 | "radius_effective_pd": "effect_radius_pd", |
---|
745 | "radius_effective": "effect_radius", |
---|
746 | "radius_effective_pd_n": "effect_radius_pd_n" |
---|
747 | } |
---|
748 | ], |
---|
749 | "surface_fractal": [ |
---|
750 | "SurfaceFractalModel", |
---|
751 | { |
---|
752 | "cutoff_length": "co_length", |
---|
753 | "radius": "radius", |
---|
754 | "surface_dim": "surface_dim" |
---|
755 | } |
---|
756 | ], |
---|
757 | "teubner_strey": [ |
---|
758 | "TeubnerStreyModel", |
---|
759 | { |
---|
760 | "a2": "scale" |
---|
761 | } |
---|
762 | ], |
---|
763 | "triaxial_ellipsoid": [ |
---|
764 | "TriaxialEllipsoidModel", |
---|
765 | { |
---|
766 | "phi": "axis_phi", |
---|
767 | "req_minor": "semi_axisA", |
---|
768 | "rpolar": "semi_axisC", |
---|
769 | "req_major": "semi_axisB", |
---|
770 | "solvent_sld": "sldSolv", |
---|
771 | "psi": "axis_psi", |
---|
772 | "sld": "sldEll", |
---|
773 | "theta": "axis_theta" |
---|
774 | } |
---|
775 | ], |
---|
776 | "two_lorentzian": [ |
---|
777 | "TwoLorentzianModel", |
---|
778 | { |
---|
779 | "lorentz_scale_1": "scale_1", |
---|
780 | "lorentz_scale_2": "scale_2", |
---|
781 | "lorentz_exp_1": "exponent_1", |
---|
782 | "lorentz_exp_2": "exponent_2", |
---|
783 | "lorentz_length_2": "length_2", |
---|
784 | "lorentz_length_1": "length_1", |
---|
785 | "background": "background" |
---|
786 | } |
---|
787 | ], |
---|
788 | "two_power_law": [ |
---|
789 | "TwoPowerLawModel", |
---|
790 | { |
---|
791 | "coefficent_1": "coef_A", |
---|
792 | "power_2": "power2", |
---|
793 | "power_1": "power1", |
---|
794 | "background": "background", |
---|
795 | "crossover": "qc" |
---|
796 | } |
---|
797 | ], |
---|
798 | "unified_power_Rg": [ |
---|
799 | "UnifiedPowerRgModel", |
---|
800 | { |
---|
801 | } |
---|
802 | ], |
---|
803 | "vesicle": [ |
---|
804 | "VesicleModel", |
---|
805 | { |
---|
806 | "sld": "shell_sld", |
---|
807 | "sld_solvent": "solv_sld" |
---|
808 | } |
---|
809 | ] |
---|
810 | } |
---|