Skip to content

Commit

Permalink
tests: add tests for basic algorithms (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Apr 3, 2018
1 parent c67a9ac commit e03a45d
Show file tree
Hide file tree
Showing 11 changed files with 42,456 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/3D_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@
data2 = rt.backproject_3d(sino, angles, ncpus=cpu_count())
print("time on {} cores: {:.2f} s".format(cpu_count(), time.time() - a))

assert np.all(data1 == data2), "2D and 3D results don't match"

assert np.all(data1 == data2), "2D and 3D results don't match"
2 changes: 1 addition & 1 deletion radontea/threed.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def volume_recon(func2d, sinogram=None, angles=None,
count=None, max_count=None, ncpus=None, **kwargs):
u""" 3D inverse with the Fourier slice theorem
"""3D inverse with the Fourier slice theorem
Computes the slice-wise 3D inverse of the radon transform using
multiprocessing.
Expand Down

0 comments on commit e03a45d

Please sign in to comment.