Changeset 110f69c in sasmodels for sasmodels/models/ellipsoid.py


Ignore:
Timestamp:
Nov 28, 2017 11:17:57 AM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
e65c3ba
Parents:
167d0f1
Message:

lint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/ellipsoid.py

    reda8b30 r110f69c  
    5353    r = R_e \left[ 1 + u^2\left(R_p^2/R_e^2 - 1\right)\right]^{1/2} 
    5454 
    55 For 2d data from oriented ellipsoids the direction of the rotation axis of  
    56 the ellipsoid is defined using two angles $\theta$ and $\phi$ as for the  
     55For 2d data from oriented ellipsoids the direction of the rotation axis of 
     56the ellipsoid is defined using two angles $\theta$ and $\phi$ as for the 
    5757:ref:`cylinder orientation figure <cylinder-angle-definition>`. 
    5858For the ellipsoid, $\theta$ is the angle between the rotational axis 
    5959and the $z$ -axis in the $xz$ plane followed by a rotation by $\phi$ 
    60 in the $xy$ plane, for further details of the calculation and angular  
     60in the $xy$ plane, for further details of the calculation and angular 
    6161dispersions see :ref:`orientation` . 
    6262 
     
    209209qy = q*sin(pi/6.0) 
    210210tests = [[{}, 0.05, 54.8525847025], 
    211         [{'theta':80., 'phi':10.}, (qx, qy), 1.74134670026 ], 
     211        [{'theta':80., 'phi':10.}, (qx, qy), 1.74134670026], 
    212212        ] 
    213213del qx, qy  # not necessary to delete, but cleaner 
Note: See TracChangeset for help on using the changeset viewer.