Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/fcc_paracrystal.py

    r69e1afc r925ad6e  
    76762D model computation. 
    7777 
    78 .. figure:: img/parallelepiped_angle_definition.png 
     78.. figure:: img/bcc_angle_definition.png 
    7979 
    80     Orientation of the crystal with respect to the scattering plane, when  
    81     $\theta = \phi = 0$ the $c$ axis is along the beam direction (the $z$ axis). 
     80    Orientation of the crystal with respect to the scattering plane. 
    8281 
    8382References 
     
    9190""" 
    9291 
    93 from numpy import inf, pi 
     92from numpy import inf 
    9493 
    9594name = "fcc_paracrystal" 
     
    111110              ["sld", "1e-6/Ang^2", 4, [-inf, inf], "sld", "Particle scattering length density"], 
    112111              ["sld_solvent", "1e-6/Ang^2", 1, [-inf, inf], "sld", "Solvent scattering length density"], 
    113               ["theta",       "degrees",    60,    [-360, 360], "orientation", "c axis to beam angle"], 
    114               ["phi",         "degrees",    60,    [-360, 360], "orientation", "rotation about beam"], 
    115               ["psi",         "degrees",    60,    [-360, 360], "orientation", "rotation about c axis"] 
     112              ["theta", "degrees", 60, [-inf, inf], "orientation", "In plane angle"], 
     113              ["phi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"], 
     114              ["psi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"] 
    116115             ] 
    117116# pylint: enable=bad-whitespace, line-too-long 
     
    129128            psi_pd=15, psi_pd_n=0, 
    130129           ) 
    131 # april 10 2017, rkh add unit tests, NOT compared with any other calc method, assume correct! 
    132 q =4.*pi/220. 
    133 tests = [ 
    134     [{ }, 
    135      [0.001, q, 0.215268], [0.275164706668, 5.7776842567, 0.00958167119232]], 
    136      [{}, (-0.047,-0.007), 238.103096286], 
    137      [{}, (0.053,0.063), 0.863609587796 ], 
    138 ] 
Note: See TracChangeset for help on using the changeset viewer.