Skip to content

Commit

Permalink
Re #9147. Updated the WIKI page
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Mar 12, 2014
1 parent d1c6501 commit 3fe3be9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Code/Mantid/Framework/Algorithms/src/PDFFourierTransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@ the unit. The allowed unit are MomentumTransfer and d-spacing.
=====G(r)=====
<math> G(r) = 4\pi r[\rho(r)-\rho_0] = \frac{2}{\pi} \int_{0}^{\infty} Q[S(Q)-1]sin(Qr)dQ </math>
<math> G(r) = 4\pi r[\rho(r)-\rho_0] = \frac{2}{\pi} \int_{0}^{\infty} Q[S(Q)-1]\sin(Qr)dQ </math>
and in this algorithm, it is implemented as
<math> G(r) = \frac{2}{\pi} \sum_{Q_{min}}^{Q_{max}} Q[S(Q)-1]sin(Qr)\Delta Q </math>
<math> G(r) = \frac{2}{\pi} \sum_{Q_{min}}^{Q_{max}} Q[S(Q)-1]\sin(Qr) M(Q,Q_{max}) \Delta Q </math>
where <math>M(Q,Q_{max})</math> is an optional filter function. If Filter property is set (true) then
<math>M(Q,Q_{max}) = \frac{\sin(\pi Q/Q_{max})}{\pi Q/Q_{max}} </math>
otherwise
<math>M(Q,Q_{max}) = 1\, </math>
=====g(r)=====
Expand Down

0 comments on commit 3fe3be9

Please sign in to comment.