Skip to content

Commit

Permalink
more doc tweaks for multiple scattering
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Kienzle committed Oct 1, 2019
1 parent fd5407a commit 4b62d07
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sasmodels/multiscat.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
Calculate multiple scattering using 2D FFT convolution.
Usage::
Usage:
.. code-block:: none
python -m sasmodels.multiscat [options] model_name model_par=value ...
Expand Down Expand Up @@ -74,6 +76,9 @@
\mathcal{F}^{-1}\left\{
\sum_{l=1}^{n} \frac{P(k; \lambda)}{P(1; \lambda))} F^k \right\}
\, \int I_1(q) {\rm d}q
= \mathcal{F}^{-1}\left\{
\sum_{l=1}^{n} \frac{\lambda^{k-1}}{k!} F^k \right\}
\, \int I_1(q) {\rm d}q
For speed we may use the fast fourier transform with a power of two.
The resulting $I(q)$ will be linearly spaced and likely heavily oversampled.
Expand Down

0 comments on commit 4b62d07

Please sign in to comment.