Changeset 7c57861 in sasmodels for sasmodels/models/stacked_disks.py


Ignore:
Timestamp:
Oct 1, 2016 12:36:48 PM (8 years ago)
Author:
butler
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:
30fbe2e
Parents:
b99734a
Message:

normalize nearest neighbor spaccing dnn, vs bragg spacing d_spacing and
polydispersity in spacing sigma_d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/stacked_disks.py

    ra807206 r7c57861  
    6060 
    6161    S(q) = 1 + \frac{1}{2}\sum_{k=1}^n(n-k)\cos{(kDq\cos{\alpha})} 
    62     \exp\left[ -k(q\cos{\alpha})^2\sigma_Dnn/2\right] 
     62    \exp\left[ -k(q\cos{\alpha})^2\sigma_d/2\right] 
    6363 
    6464where $n$ is the total number of the disc stacked (*n_stacking*), 
    6565$D = 2(d+h)$ is the next neighbor center-to-center distance (d-spacing), 
    66 and $\sigma_Dnn$ = the Gaussian standard deviation of the d-spacing (*sigma_dnn*). 
     66and $\sigma_d$ = the Gaussian standard deviation of the d-spacing (*sigma_d*). 
    6767 
    6868.. note:: 
     
    119119    sld_layer = the SLD of the layers 
    120120    n_stacking = the number of the disks 
    121     sigma_dnn =  Gaussian STD of d-spacing 
     121    sigma_d =  Gaussian STD of d-spacing 
    122122    sld_solvent = the SLD of the solvent 
    123123    """ 
     
    131131    ["radius",      "Ang",        15.0, [0, inf],    "volume",      "Radius of the stacked disk"], 
    132132    ["n_stacking",  "",            1.0, [0, inf],    "volume",      "Number of stacked layer/core/layer disks"], 
    133     ["sigma_dnn",   "Ang",         0,   [0, inf],    "",            "Sigma of nearest neighbor spacing"], 
     133    ["sigma_d",     "Ang",         0,   [0, inf],    "",            "Sigma of nearest neighbor spacing"], 
    134134    ["sld_core",    "1e-6/Ang^2",  4,   [-inf, inf], "sld",         "Core scattering length density"], 
    135135    ["sld_layer",   "1e-6/Ang^2",  0.0, [-inf, inf], "sld",         "Layer scattering length density"], 
     
    148148            radius=15.0, 
    149149            n_stacking=1, 
    150             sigma_dnn=0, 
     150            sigma_d=0, 
    151151            sld_core=4, 
    152152            sld_layer=0.0, 
     
    162162      'radius': 3000.0, 
    163163      'n_stacking': 1.0, 
    164       'sigma_dnn': 0.0, 
     164      'sigma_d': 0.0, 
    165165      'sld_core': 4.0, 
    166166      'sld_layer': -0.4, 
     
    176176      'radius': 3000.0, 
    177177      'n_stacking': 5.0, 
    178       'sigma_dnn': 0.0, 
     178      'sigma_d': 0.0, 
    179179      'sld_core': 4.0, 
    180180      'sld_layer': -0.4, 
     
    190190      'radius': 3000.0, 
    191191      'n_stacking': 5.0, 
    192       'sigma_dnn': 0.0, 
     192      'sigma_d': 0.0, 
    193193      'sld_core': 4.0, 
    194194      'sld_layer': -0.4, 
     
    204204      'radius': 3000.0, 
    205205      'n_stacking': 1.0, 
    206       'sigma_dnn': 0.0, 
     206      'sigma_d': 0.0, 
    207207      'sld_core': 4.0, 
    208208      'sld_layer': -0.4, 
     
    218218      'radius': 3000.0, 
    219219      'n_stacking': 1.0, 
    220       'sigma_dnn': 0.0, 
     220      'sigma_d': 0.0, 
    221221      'sld_core': 4.0, 
    222222      'sld_layer': -0.4, 
     
    232232      'radius': 3000.0, 
    233233      'n_stacking': 1.0, 
    234       'sigma_dnn': 0.0, 
     234      'sigma_d': 0.0, 
    235235      'sld_core': 4.0, 
    236236      'sld_layer': -0.4, 
Note: See TracChangeset for help on using the changeset viewer.