source: sasmodels/sasmodels/conversion_table.py @ e1ea6b5

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

Streamlined code and have Unified Power Rg and Lamellar PC models loading properly.

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