source: sasmodels/sasmodels/conversion_table.py @ 0795293

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

Add a check for the version of the incoming pagestate to skip previous versions.

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