Changeset ab60822 in sasmodels for doc


Ignore:
Timestamp:
Sep 11, 2017 5:07:15 AM (7 years ago)
Author:
GitHub <noreply@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
3a45c2c, dd6885e
Parents:
c63a7c8 (diff), 30b60d2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Wojciech Potrzebowski <Wojciech.Potrzebowski@…> (09/11/17 05:07:15)
git-committer:
GitHub <noreply@…> (09/11/17 05:07:15)
Message:

Merge pull request #50 from SasView?/ticket-510

Ticket 510 pdf build - doesn't close the ticket yet

Location:
doc
Files:
3 added
3 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • doc/conf.py

    r8ae8532 r30b60d2  
    211211#latex_preamble = '' 
    212212LATEX_PREAMBLE=r""" 
     213\newcommand{\lt}{<} 
     214\newcommand{\gt}{>} 
    213215\renewcommand{\AA}{\text{\r{A}}} % Allow \AA in math mode 
    214216\usepackage[utf8]{inputenc}      % Allow unicode symbols in text 
  • doc/guide/magnetism/magnetism.rst

    r990d8df r64eecf7  
    1616 
    1717.. figure:: 
    18     mag_img/mag_vector.bmp 
     18    mag_img/mag_vector.png 
    1919 
    2020The magnetic scattering length density is then 
     
    3636 
    3737.. figure:: 
    38     mag_img/M_angles_pic.bmp 
     38    mag_img/M_angles_pic.png 
    3939 
    4040If the angles of the $Q$ vector and the spin-axis $x'$ to the $x$ - axis are 
  • doc/guide/plugin.rst

    r870a2f4 r30b60d2  
    117117Models that do not conform to these requirements will *never* be incorporated 
    118118into the built-in library. 
    119  
    120 More complete documentation for the sasmodels package can be found at 
    121 `<http://www.sasview.org/sasmodels>`_. In particular, 
    122 `<http://www.sasview.org/sasmodels/api/generate.html#module-sasmodels.generate>`_ 
    123 describes the structure of a model. 
    124119 
    125120 
     
    613608 
    614609    sas_gamma(x): 
    615         Gamma function $\text{sas_gamma}(x) = \Gamma(x)$. 
     610        Gamma function sas_gamma\ $(x) = \Gamma(x)$. 
    616611 
    617612        The standard math function, tgamma(x) is unstable for $x < 1$ 
     
    623618    sas_erf(x), sas_erfc(x): 
    624619        Error function 
    625         $\text{sas_erf}(x) = \frac{2}{\sqrt\pi}\int_0^x e^{-t^2}\,dt$ 
     620        sas_erf\ $(x) = \frac{2}{\sqrt\pi}\int_0^x e^{-t^2}\,dt$ 
    626621        and complementary error function 
    627         $\text{sas_erfc}(x) = \frac{2}{\sqrt\pi}\int_x^{\infty} e^{-t^2}\,dt$. 
     622        sas_erfc\ $(x) = \frac{2}{\sqrt\pi}\int_x^{\infty} e^{-t^2}\,dt$. 
    628623 
    629624        The standard math functions erf(x) and erfc(x) are slower and broken 
     
    634629 
    635630    sas_J0(x): 
    636         Bessel function of the first kind $\text{sas_J0}(x)=J_0(x)$ where 
     631        Bessel function of the first kind sas_J0\ $(x)=J_0(x)$ where 
    637632        $J_0(x) = \frac{1}{\pi}\int_0^\pi \cos(x\sin(\tau))\,d\tau$. 
    638633 
     
    643638 
    644639    sas_J1(x): 
    645         Bessel function of the first kind  $\text{sas_J1}(x)=J_1(x)$ where 
     640        Bessel function of the first kind  sas_J1\ $(x)=J_1(x)$ where 
    646641        $J_1(x) = \frac{1}{\pi}\int_0^\pi \cos(\tau - x\sin(\tau))\,d\tau$. 
    647642 
     
    652647 
    653648    sas_JN(n, x): 
    654         Bessel function of the first kind and integer order $n$: 
    655         $\text{sas_JN}(n, x)=J_n(x)$ where 
     649        Bessel function of the first kind and integer order $n$, 
     650        sas_JN\ $(n, x) =J_n(x)$ where 
    656651        $J_n(x) = \frac{1}{\pi}\int_0^\pi \cos(n\tau - x\sin(\tau))\,d\tau$. 
    657         If $n$ = 0 or 1, it uses sas_J0(x) or sas_J1(x), respectively. 
     652        If $n$ = 0 or 1, it uses sas_J0($x$) or sas_J1($x$), respectively. 
    658653 
    659654        The standard math function jn(n, x) is not available on all platforms. 
     
    663658 
    664659    sas_Si(x): 
    665         Sine integral $\text{Si}(x) = \int_0^x \tfrac{\sin t}{t}\,dt$. 
     660        Sine integral Si\ $(x) = \int_0^x \tfrac{\sin t}{t}\,dt$. 
    666661 
    667662        This function uses Taylor series for small and large arguments: 
     
    688683    sas_3j1x_x(x): 
    689684        Spherical Bessel form 
    690         $\text{sph_j1c}(x) = 3 j_1(x)/x = 3 (\sin(x) - x \cos(x))/x^3$, 
     685        sph_j1c\ $(x) = 3 j_1(x)/x = 3 (\sin(x) - x \cos(x))/x^3$, 
    691686        with a limiting value of 1 at $x=0$, where $j_1(x)$ is the spherical 
    692687        Bessel function of the first kind and first order. 
     
    699694 
    700695    sas_2J1x_x(x): 
    701         Bessel form $\text{sas_J1c}(x) = 2 J_1(x)/x$, with a limiting value 
     696        Bessel form sas_J1c\ $(x) = 2 J_1(x)/x$, with a limiting value 
    702697        of 1 at $x=0$, where $J_1(x)$ is the Bessel function of first kind 
    703698        and first order. 
  • doc/guide/resolution.rst

    rf8a2baa r30b60d2  
    212212elliptical Gaussian distribution. The $A$ is a normalization factor. 
    213213 
    214 .. figure:: resolution_2d_rotation.gif 
     214.. figure:: resolution_2d_rotation.png 
    215215 
    216216    Coordinate axis rotation for 2D resolution calculation. 
  • doc/rst_prolog

    ra0fb06a r30b60d2  
    11.. Set up some substitutions to make life easier... 
    2 .. Remove |biggamma|, etc. when they are no longer needed. 
    32 
    4  
    5 .. |alpha| unicode:: U+03B1 
    6 .. |beta| unicode:: U+03B2 
    7 .. |gamma| unicode:: U+03B3 
    8 .. |delta| unicode:: U+03B4 
    9 .. |epsilon| unicode:: U+03B5 
    10 .. |zeta| unicode:: U+03B6 
    11 .. |eta| unicode:: U+03B7 
    12 .. |theta| unicode:: U+03B8 
    13 .. |iota| unicode:: U+03B9 
    14 .. |kappa| unicode:: U+03BA 
    15 .. |lambda| unicode:: U+03BB 
    16 .. |mu| unicode:: U+03BC 
    17 .. |nu| unicode:: U+03BD 
    18 .. |xi| unicode:: U+03BE 
    19 .. |omicron| unicode:: U+03BF 
    20 .. |pi| unicode:: U+03C0 
    21 .. |rho| unicode:: U+03C1 
    22 .. |sigma| unicode:: U+03C3 
    23 .. |tau| unicode:: U+03C4 
    24 .. |upsilon| unicode:: U+03C5 
    25 .. |phi| unicode:: U+03C6 
    26 .. |chi| unicode:: U+03C7 
    27 .. |psi| unicode:: U+03C8 
    28 .. |omega| unicode:: U+03C9 
    29  
    30  
    31 .. |biggamma| unicode:: U+0393 
    32 .. |bigdelta| unicode:: U+0394 
    33 .. |bigzeta| unicode:: U+039E 
    34 .. |bigpsi| unicode:: U+03A8 
    35 .. |bigphi| unicode:: U+03A6 
    36 .. |bigsigma| unicode:: U+03A3 
    37 .. |Gamma| unicode:: U+0393 
    38 .. |Delta| unicode:: U+0394 
    39 .. |Zeta| unicode:: U+039E 
    40 .. |Psi| unicode:: U+03A8 
    41  
    42  
    43 .. |drho| replace:: |Delta|\ |rho| 
    443.. |Ang| unicode:: U+212B 
    454.. |Ang^-1| replace:: |Ang|\ :sup:`-1` 
     
    5716.. |cm^-3| replace:: cm\ :sup:`-3` 
    5817.. |sr^-1| replace:: sr\ :sup:`-1` 
    59 .. |P0| replace:: P\ :sub:`0`\ 
    60 .. |A2| replace:: A\ :sub:`2`\ 
    61  
    62  
    63 .. |equiv| unicode:: U+2261 
    64 .. |noteql| unicode:: U+2260 
    65 .. |TM| unicode:: U+2122 
    66  
    6718 
    6819.. |cdot| unicode:: U+00B7 
Note: See TracChangeset for help on using the changeset viewer.