Changeset d8b7efa in sasmodels for explore/beta/sasfit_compare_new.py
- Timestamp:
- Mar 27, 2019 4:41:11 AM (6 years ago)
- Branches:
- master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
- Children:
- 0b8a1fc
- Parents:
- 265c657
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/beta/sasfit_compare_new.py
rb6422c7 rd8b7efa 595 595 # this one is only used locally for "actual" 596 596 ) 597 target = sasmodels_theory(q, model, effective_radius_ mode=0, structure_factor_mode=1, **pars)597 target = sasmodels_theory(q, model, effective_radius_type=0, structure_factor_type=1, **pars) 598 598 actual = sphere_r(q, norm='sasview', **pars) 599 599 title = " ".join(("sasmodels", model, pd_type)) … … 615 615 # equivalent average sphere radius for local "actual" to match what sasview uses, use None to compute average outer radius here, 616 616 617 target = sasmodels_theory(q, model, effective_radius_ mode=0, structure_factor_mode=1, **pars)617 target = sasmodels_theory(q, model, effective_radius_type=0, structure_factor_type=1, **pars) 618 618 actual = vesicle_pe(q, norm='sasview', **pars) 619 619 title = " ".join(("sasmodels", model, pd_type)) … … 635 635 radius_effective=40.687) 636 636 # equivalent average sphere radius for local "actual" to match what sasview uses 637 target = sasmodels_theory(q, model, effective_radius_ mode=0, structure_factor_mode=1, **pars)637 target = sasmodels_theory(q, model, effective_radius_type=0, structure_factor_type=1, **pars) 638 638 actual = hollow_cylinder_pe(q, norm='sasview', **pars) 639 639 # RKH monodisp was OK, actual = hollow_cylinder_theta(q,radius=20, thickness=10, length=80, sld=4, sld_solvent=1 ) … … 656 656 # if change radius_effective to some other value, the S(Q) from sasview does not agree 657 657 ) 658 target = sasmodels_theory(q, model, effective_radius_ mode=0, structure_factor_mode=1, **pars)658 target = sasmodels_theory(q, model, effective_radius_type=0, structure_factor_type=1, **pars) 659 659 actual = ellipsoid_pe(q, norm='sasview', **pars) 660 660 # RKH test actual = ellipsoid_theta(q, radius_polar=20, radius_equatorial=400, sld=4, sld_solvent=1, volfraction=0.15, radius_effective=270.)
Note: See TracChangeset
for help on using the changeset viewer.