Skip to content

Commit

Permalink
docs: fix math; tests: fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Apr 3, 2019
1 parent ee03670 commit 473e30e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions radontea/_alg_bpj.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def backproject(sinogram, angles, filtering="ramp", weight_angles=True,
padding=True, padval=0, count=None, max_count=None, verbose=0):
"""2D backprojection algorithm
r"""2D backprojection algorithm
Computes the inverse of the Radon transform using filtered
backprojection.
Expand Down Expand Up @@ -34,8 +34,8 @@ def backproject(sinogram, angles, filtering="ramp", weight_angles=True,
projections.
.. math::
\Delta \phi_0 \\longmapsto \Delta \phi_j =
\\frac{\phi_{j+1} - \phi_{j-1}}{2}
\Delta \phi_0 \longmapsto \Delta \phi_j =
\frac{\phi_{j+1} - \phi_{j-1}}{2}
.. versionadded:: 0.1.9
Expand Down
2 changes: 1 addition & 1 deletion radontea/_rdn_fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_fan_coords(size, spacing, distance, numang):
def radon_fan(arr, det_size, det_spacing=1, shift_size=1,
lS=1, lD=None, return_ang=False,
count=None, max_count=None):
"""Compute the Radon transform for a fan beam geometry
r"""Compute the Radon transform for a fan beam geometry
In contrast to :func:`radon_parallel`, this function uses (1)
Expand Down

0 comments on commit 473e30e

Please sign in to comment.