source: sasmodels/sasmodels/conversion_table.py @ a297255

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

Default to an empty dictionary when getting a value from CONVERSION_TABLE.

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