Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/sc_paracrystal.py

    r69e1afc r3330bb4  
    8383model computation. 
    8484 
    85 .. figure:: img/parallelepiped_angle_definition.png 
    86  
    87     Orientation of the crystal with respect to the scattering plane, when 
    88     $\theta = \phi = 0$ the $c$ axis is along the beam direction (the $z$ axis). 
     85.. figure:: img/sc_crystal_angle_definition.jpg 
    8986 
    9087Reference 
     
    130127              ["sld",  "1e-6/Ang^2",         3.0, [0.0, inf],  "sld",         "Sphere scattering length density"], 
    131128              ["sld_solvent", "1e-6/Ang^2",  6.3, [0.0, inf],  "sld",         "Solvent scattering length density"], 
    132               ["theta",       "degrees",    0,    [-360, 360], "orientation", "c axis to beam angle"], 
    133               ["phi",         "degrees",    0,    [-360, 360], "orientation", "rotation about beam"], 
    134               ["psi",         "degrees",    0,    [-360, 360], "orientation", "rotation about c axis"] 
     129              ["theta",       "degrees",     0.0, [-inf, inf], "orientation", "Orientation of the a1 axis w/respect incoming beam"], 
     130              ["phi",         "degrees",     0.0, [-inf, inf], "orientation", "Orientation of the a2 in the plane of the detector"], 
     131              ["psi",         "degrees",     0.0, [-inf, inf], "orientation", "Orientation of the a3 in the plane of the detector"], 
    135132             ] 
    136133# pylint: enable=bad-whitespace, line-too-long 
     
    149146 
    150147tests = [ 
    151     # Accuracy tests based on content in test/utest_extra_models.py, 2d tests added April 10, 2017 
     148    # Accuracy tests based on content in test/utest_extra_models.py 
    152149    [{}, 0.001, 10.3048], 
    153150    [{}, 0.215268, 0.00814889], 
    154     [{}, (0.414467), 0.001313289], 
    155     [{'theta':10.0,'phi':20,'psi':30.0},(0.045,-0.035),18.0397138402 ], 
    156     [{'theta':10.0,'phi':20,'psi':30.0},(0.023,0.045),0.0177333171285 ] 
     151    [{}, (0.414467), 0.001313289] 
    157152    ] 
    158153 
Note: See TracChangeset for help on using the changeset viewer.