Changeset a0494e9 in sasmodels for sasmodels/models/onion.py


Ignore:
Timestamp:
Jul 18, 2016 9:43:54 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
c7ff92c
Parents:
263daec
Message:

allow comparison between onion/spherical_sld and sasview

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/onion.py

    r46ed760 ra0494e9  
    312312 
    313313source = ["lib/sph_j1c.c", "onion.c"] 
     314single = False 
    314315 
    315316#def Iq(q, *args, **kw): 
     
    375376    "sld_core": 1.0, 
    376377    "core_radius": 100, 
    377     "n": 4, 
     378    "n_shells": 4, 
    378379    "sld_in": [0.5, 1.5, 0.9, 2.0], 
    379380    "sld_out": [nan, 0.9, 1.2, 1.6], 
     
    381382    "A": [0, -1, 1e-4, 1], 
    382383    # Could also specify them individually as 
    383     # "A[1]": 0, "A[2]": -1, "A[3]": 1e-4, "A[4]": 1, 
     384    # "A1": 0, "A2": -1, "A3": 1e-4, "A4": 1, 
    384385    } 
    385386 
Note: See TracChangeset for help on using the changeset viewer.