source: sasmodels/sasmodels/conversion_table.py @ 4b4eee1

core_shell_microgelscostrafo411magnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 4b4eee1 was 4b4eee1, checked in by krzywon, 7 years ago

Added versioning to convert.py for future model reparameterization.

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