Changeset 2c74c11 in sasmodels for sasmodels/models/sphere.py


Ignore:
Timestamp:
Jul 24, 2016 10:56:45 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:
a4280bd
Parents:
f1765a2
Message:

implicit Iqxy; fix divide by 0 for q=0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/sphere.py

    r42356c8 r2c74c11  
    7878    """ 
    7979 
    80 Iqxy = """ 
    81     // never called since no orientation or magnetic parameters. 
    82     //return -1.0; 
    83     return Iq(sqrt(qx*qx + qy*qy), sld, sld_solvent, radius); 
    84     """ 
    85  
    8680def ER(radius): 
    8781    """ 
Note: See TracChangeset for help on using the changeset viewer.