Changes in / [a297255:790b16bb] in sasmodels
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/conversion_table.py
ra297255 rbb584b3 237 237 "lorentz_exp": "exponent_l", 238 238 "cor_length": "length_l" 239 } 239 }, 240 "CorrLengthModel" 240 241 ], 241 242 "cylinder": [ … … 328 329 "cor_length": "cor_length", 329 330 "volfraction": "volfraction", 330 } 331 }, 332 "FractalCoreShellModel" 331 333 ], 332 334 "fuzzy_sphere": [ … … 347 349 "background": "background", 348 350 "lorentz_scale": "scale_l" 349 } 351 }, 352 "GaussLorentzGelModel" 350 353 ], 351 354 "gaussian_peak": [ … … 354 357 "peak_pos": "q0", 355 358 "sigma": "B", 356 } 359 }, 360 "PeakGaussModel", 357 361 ], 358 362 "gel_fit": [ … … 370 374 { 371 375 "rg": "rg" 372 } 376 }, 377 "GuinierModel", 373 378 ], 374 379 "guinier_porod": [ … … 380 385 "scale": "scale", 381 386 "background": "background" 382 } 387 }, 388 "GuinierPorodModel", 383 389 ], 384 390 "hardsphere": [ … … 508 514 { 509 515 "cor_length": "length" 510 } 516 }, 517 "LorentzModel", 511 518 ], 512 519 "mass_fractal": [ … … 534 541 "i_zero": "scale", 535 542 "background": "background", 536 } 543 }, 544 "DebyeModel", 537 545 ], 538 546 "multilayer_vesicle": [ … … 587 595 "peak_pos": "q0", 588 596 "peak_hwhm": "B" 589 } 597 }, 598 "PeakLorentzModel", 590 599 ], 591 600 "pearl_necklace": [ … … 830 839 "lorentz_length_1": "length_1", 831 840 "background": "background" 832 } 841 }, 842 "TwoLorentzianModel", 833 843 ], 834 844 "two_power_law": [ … … 840 850 "background": "background", 841 851 "crossover": "qc" 842 } 852 }, 853 "TwoPowerLawModel", 843 854 ], 844 855 "unified_power_Rg": [ … … 853 864 "background": "background", 854 865 "scale": "scale", 855 }) 866 }), 867 "UnifiedPowerRgModel", 856 868 ], 857 869 "vesicle": [ -
sasmodels/sasview_model.py
ra297255 rbb584b3 60 60 # CoreShellEllipsoidModel => core_shell_ellipsoid:1 61 61 new_name = new_name.split(':')[0] 62 old_name = conversion[0] 62 old_name = conversion[0] if len(conversion) < 3 else conversion[2] 63 63 module_attrs = {old_name: find_model(new_name)} 64 64 ConstructedModule = type(old_name, (), module_attrs)
Note: See TracChangeset
for help on using the changeset viewer.