Changeset 5b60eeb in sasmodels for sasmodels/conversion_table.py


Ignore:
Timestamp:
Oct 1, 2016 1:05:08 PM (8 years ago)
Author:
butler
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
2f46e83
Parents:
30fbe2e
Message:

Partly fixes conversion_table.py issue created when changing parameter
names, model names, removing a model (old parameteriation of
core_shell_ellipsoid. Reperameterization will probably just break this
altogether. This should fix the broken build but the sum models may not
work properly?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/conversion_table.py

    rc95dfc63 r5b60eeb  
    2929            "sld": "sld_barbell", 
    3030            "length": "len_bar", 
    31             "bell_radius": "rad_bell", 
     31            "radius_bell": "rad_bell", 
    3232            "radius": "rad_bar", 
    3333            "sld_solvent": "sld_solv" 
     
    8383            "sld": "sld_capcyl", 
    8484            "length": "len_cyl", 
    85             "cap_radius": "rad_cap", 
     85            "radius_cap": "rad_cap", 
    8686            "radius": "rad_cyl", 
    8787            "sld_solvent": "sld_solv" 
     
    126126            "sld_core": "core_sld", 
    127127            "sld_rim": "rim_sld", 
    128             "face_thickness": "face_thick", 
     128            "thick_face": "face_thick", 
    129129            "sld_solvent": "solvent_sld", 
    130             "rim_thickness": "rim_thick", 
     130            "thick_rim": "rim_thick", 
    131131            "sld_face": "face_sld", 
    132132            "theta": "axis_theta" 
     
    144144    ], 
    145145    "core_shell_ellipsoid": [ 
    146         "CoreShellEllipsoidModel", 
    147         { 
    148             "phi": "axis_phi", 
    149             "sld_core": "sld_core", 
    150             "polar_shell": "polar_shell", 
    151             "sld_solvent": "sld_solvent", 
    152             "equat_shell": "equat_shell", 
    153             "equat_core": "equat_core", 
    154             "theta": "axis_theta", 
    155             "polar_core": "polar_core", 
    156             "sld_shell": "sld_shell" 
    157         } 
    158     ], 
    159     "core_shell_ellipsoid_xt": [ 
    160146        "CoreShellEllipsoidXTModel", 
    161147        { 
     
    164150            "x_core": "X_core", 
    165151            "sld_solvent": "sld_solvent", 
    166             "t_shell": "T_shell", 
     152            "thick_shell": "T_shell", 
    167153            "x_polar_shell": "XpolarShell", 
    168154            "theta": "axis_theta", 
     
    179165            "sld_b": "sld_rimB", 
    180166            "sld_solvent": "sld_solv", 
    181             "a_side": "shortA", 
     167            "length_a": "shortA", 
    182168            "sld_a": "sld_rimA", 
    183             "b_side": "midB", 
    184             "crim_thickness": "rimC", 
     169            "length_b": "midB", 
     170            "thick_rimc": "rimC", 
    185171            "theta": "parallel_theta", 
    186             "arim_thickness": "rimA", 
    187             "c_side": "longC", 
    188             "brim_thickness": "rimB" 
     172            "thick_rim_a": "rimA", 
     173            "length_c": "longC", 
     174            "thick_rim_b": "rimB" 
    189175        } 
    190176    ], 
     
    214200            "porod_scale": "scale_p", 
    215201            "lorentz_scale": "scale_l", 
    216             "exponent_p": "exponent_p", 
    217             "exponent_l": "exponent_l", 
     202            "porod_exp": "exponent_p", 
     203            "lorentz_exp": "exponent_l", 
    218204            "cor_length": "length_l" 
    219205        } 
     
    247233        { 
    248234            "phi": "axis_phi", 
    249             "r_equatorial": "radius_b", 
     235            "radius_equatorial": "radius_b", 
    250236            "sld": "sldEll", 
    251237            "theta": "axis_theta", 
    252             "r_polar": "radius_a", 
     238            "radius_polar": "radius_a", 
    253239            "sld_solvent": "sldSolv" 
    254240        } 
     
    316302        "GaussLorentzGelModel", 
    317303        { 
    318             "gauss_scale_factor": "scale_g", 
    319             "dynamic_cor_length": "dyn_colength", 
    320             "static_cor_length": "stat_colength", 
    321             "background": "background", 
    322             "lorentz_scale_factor": "scale_l" 
     304            "gauss_scale": "scale_g", 
     305            "cor_length_dynamic": "dyn_colength", 
     306            "cor_length_static": "stat_colength", 
     307            "background": "background", 
     308            "lorentz_scale: "scale_l" 
    323309        } 
    324310    ], 
     
    332318        "GelFitModel", 
    333319        { 
    334             "gyration_radius": "radius", 
    335             "lorentzian_scale": "lScale", 
    336             "fractal_exp": "FractalExp", 
     320            "rg": "radius", 
     321            "lorentz_scale": "lScale", 
     322            "fractal_dim": "FractalExp", 
    337323            "cor_length": "zeta", 
    338324            "guinier_scale": "gScale" 
     
    377363            "phi": "axis_phi", 
    378364            "scale": "scale", 
    379             "core_radius": "core_radius", 
     365            "radius_core": "core_radius", 
    380366            "sld_solvent": "sldSolv", 
    381367            "length": "length", 
     
    390376        { 
    391377            "b2a_ratio": "b2a_ratio", 
    392             "a_side": "short_side", 
     378            "length_a": "short_side", 
    393379            "sld": "sldPipe", 
    394             "c_side": "c2a_ratio", 
     380            "length_c": "c2a_ratio", 
    395381            "sld_solvent": "sldSolv", 
    396382            "thickness": "thickness" 
     
    402388            "sld": "sldPipe", 
    403389            "b2a_ratio": "b2a_ratio", 
    404             "a_side": "short_side", 
    405             "c_side": "c2a_ratio", 
     390            "length_a": "short_side", 
     391            "length_c": "c2a_ratio", 
    406392            "sld_solvent": "sldSolv" 
    407393        } 
     
    421407            "sld_solvent": "sld_solvent", 
    422408            "sld_head": "sld_head", 
    423             "tail_length": "t_length", 
    424             "head_length": "h_thickness" 
     409            "length_tail": "t_length", 
     410            "length_head": "h_thickness" 
    425411        } 
    426412    ], 
     
    431417            "Nlayers": "n_plates", 
    432418            "sld_head": "sld_head", 
    433             "tail_length": "deltaT", 
    434             "head_length": "deltaH", 
     419            "length_tail": "deltaT", 
     420            "length_head": "deltaH", 
    435421            "sld": "sld_tail", 
    436422            "sld_solvent": "sld_solvent" 
     
    451437        { 
    452438            "sld": "sld_layer", 
    453             "spacing_polydisp": "pd_spacing", 
     439            "sigma_d": "pd_spacing", 
    454440            "sld_solvent": "sld_solvent" 
    455441        } 
     
    483469            "cutoff_length": "co_length", 
    484470            "radius": "radius", 
    485             "mass_dim": "mass_dim" 
     471            "fractal_dim_mass": "mass_dim" 
    486472        } 
    487473    ], 
     
    489475        "MassSurfaceFractal", 
    490476        { 
    491             "cluster_rg": "cluster_rg", 
    492             "mass_dim": "mass_dim", 
    493             "radius": "radius", 
    494             "surface_dim": "surface_dim", 
    495             "primary_rg": "primary_rg" 
     477            "rg_cluster": "cluster_rg", 
     478            "fractal_dim_mass": "mass_dim", 
     479            "radius": "radius", 
     480            "fractal_dim_surf": "surface_dim", 
     481            "rg_primary": "primary_rg" 
    496482        } 
    497483    ], 
     
    499485        "DebyeModel", 
    500486        { 
    501             "radius_gyration": "rg", 
     487            "rg": "rg", 
    502488            "scale": "scale", 
    503489            "background": "background" 
     
    521507            "A": "A_shell", 
    522508            "sld_core": "sld_core0", 
    523             "core_radius": "rad_core0", 
     509            "radius_core": "rad_core0", 
    524510            "sld_solvent": "sld_solv", 
    525511            "thickness": "thick_shell", 
     
    534520            "psi": "parallel_psi", 
    535521            "sld_solvent": "sldSolv", 
    536             "a_side": "short_a", 
    537             "b_side": "short_b", 
     522            "length_a": "short_a", 
     523            "length_b": "short_b", 
    538524            "sld": "sldPipe", 
    539525            "theta": "parallel_theta", 
    540             "c_side": "long_c", 
     526            "length_c": "long_c", 
    541527            "M0:sld": "M0_sld_pipe", 
    542528            "mtheta:sld": "M_theta_pipe", 
     
    561547        { 
    562548            "scale": "scale", 
    563             "string_thickness": "thick_string", 
     549            "thick_string": "thick_string", 
    564550            "sld_string": "sld_string", 
    565551            "sld_solvent": "sld_solv", 
    566             "edge_separation": "edge_separation", 
    567             "number_of_pearls": "num_pearls", 
     552            "edge_sep": "edge_separation", 
     553            "num_pearls": "num_pearls", 
    568554            "radius": "radius", 
    569555            "background": "background", 
     
    574560        "Poly_GaussCoil", 
    575561        { 
    576             "radius_gyration": "rg", 
     562            "rg": "rg", 
    577563            "polydispersity": "poly_m", 
    578564            "scale": "scale", 
     
    622608            "background": "background", 
    623609            "alpha": "alpha", 
    624             "pringle_sld": "sld_pringle" 
     610            "sld": "sld_pringle" 
    625611        } 
    626612    ], 
     
    644630            "sld": "sldPipe", 
    645631            "b2a_ratio": "b2a_ratio", 
    646             "a_side": "short_side", 
    647             "c_side": "c2a_ratio", 
     632            "length_a": "short_side", 
     633            "length_c": "c2a_ratio", 
    648634            "sld_solvent": "sldSolv" 
    649635        } 
     
    752738            "cutoff_length": "co_length", 
    753739            "radius": "radius", 
    754             "surface_dim": "surface_dim" 
     740            "fractal_dim_surf": "surface_dim" 
    755741        } 
    756742    ], 
     
    765751        { 
    766752            "phi": "axis_phi", 
    767             "req_minor": "semi_axisA", 
    768             "rpolar": "semi_axisC", 
    769             "req_major": "semi_axisB", 
    770             "solvent_sld": "sldSolv", 
     753            "radius_equat_minor": "semi_axisA", 
     754            "radius_polar": "semi_axisC", 
     755            "radius_equat_major": "semi_axisB", 
     756            "sld_solvent": "sldSolv", 
    771757            "psi": "axis_psi", 
    772758            "sld": "sldEll", 
Note: See TracChangeset for help on using the changeset viewer.