Changeset 3fd0499 in sasmodels for sasmodels/models/parallelepiped.py


Ignore:
Timestamp:
Apr 8, 2017 2:32:39 AM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
afd4692, 3a45c2c
Parents:
16a8c63 (diff), b2921d0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ticket-890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/parallelepiped.py

    r1916c52 r3fd0499  
    2424   The edge of the solid used to have to satisfy the condition that $A < B < C$. 
    2525   After some improvements to the effective radius calculation, used with an S(Q), 
    26    it is beleived that this is no longer the case.  
     26   it is beleived that this is no longer the case. 
    2727 
    2828The 1D scattering intensity $I(q)$ is calculated as: 
     
    189189            mu = q*B 
    190190        V: Volume of the rectangular parallelepiped 
    191         alpha: angle between the long axis of the  
     191        alpha: angle between the long axis of the 
    192192            parallelepiped and the q-vector for 1D 
    193193""" 
     
    219219    Return effective radius (ER) for P(q)*S(q) 
    220220    """ 
    221     # now that axes can be in any size order, need to sort a,b,c where a~b and c is either much smaller  
     221    # now that axes can be in any size order, need to sort a,b,c where a~b and c is either much smaller 
    222222    # or much larger 
    223223    abc = np.vstack((length_a, length_b, length_c)) 
Note: See TracChangeset for help on using the changeset viewer.