Changeset a5d0d00 in sasmodels for sasmodels/models/barbell.py


Ignore:
Timestamp:
Feb 27, 2015 11:16:23 AM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
61ba623
Parents:
529b8b4
Message:

doc fixups: add doc category to model def, convert equations to latex for barbell and bcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/barbell.py

    r0706431 ra5d0d00  
    1616The barbell geometry is defined as 
    1717 
    18 .. image:: img/image105.jpg 
     18.. image:: img/barbell_geometry.jpg 
    1919 
    2020where *r* is the radius of the cylinder. All other parameters are as defined in the diagram. 
     
    7171**The requirement that** *R* >= *r* **is not enforced in the model!** It is up to you to restrict this during analysis. 
    7272 
    73 This example dataset is produced by running the Macro PlotBarbell(), using 200 data points, *qmin* = 0.001 |Ang^-1|, 
    74 *qmax* = 0.7 |Ang^-1| and the following default values 
     73This example dataset is produced by running the Macro PlotBarbell(), 
     74using 200 data points, *qmin* = 0.001 |Ang^-1|, *qmax* = 0.7 |Ang^-1|, 
     75*sld* = 4e-6 |Ang^-2| and the default model values. 
    7576 
    76 ==============  ========  ============= 
    77 Parameter name  Units     Default value 
    78 ==============  ========  ============= 
    79 scale           None      1.0 
    80 len_bar         |Ang|     400.0 
    81 rad_bar         |Ang|     20.0 
    82 rad_bell        |Ang|     40.0 
    83 sld_barbell     |Ang^-2|  1.0e-006 
    84 sld_solv        |Ang^-2|  6.3e-006 
    85 background      |cm^-1|   0 
    86 ==============  ========  ============= 
    87  
    88 .. image:: img/image110.jpg 
     77.. image:: img/barbell_1d.jpg 
    8978 
    9079*Figure. 1D plot using the default values (w/256 data point).* 
     
    9382|theta| = 45 deg and |phi| = 0 deg with default values for other parameters 
    9483 
    95 .. image:: img/image111.jpg 
     84.. image:: img/barbell_2d.jpg 
    9685 
    9786*Figure. 2D plot (w/(256X265) data points).* 
     
    10695 
    10796REFERENCE 
     97--------- 
    10898 
    10999H Kaya, *J. Appl. Cryst.*, 37 (2004) 37 223-230 
     
    122112                It must be that rad_bar <(=) rad_bell. 
    123113""" 
     114category = "shape:cylinder" 
    124115 
    125116parameters = [ 
Note: See TracChangeset for help on using the changeset viewer.