SimonBiggs / npgamma

Using numpy broadcasting to find the gamma index
GNU Affero General Public License v3.0
19 stars 7 forks source link

Implement nosetests for Agnew and McGarry images #13

Open SimonBiggs opened 7 years ago

SimonBiggs commented 7 years ago

See https://github.com/SimonBiggs/npgamma/blob/master/agnew_mcgarry_images/README.md for details.

SimonBiggs commented 7 years ago

Create a 3D test set of images using the 2D test set. Create a fourth slice that has no cube in it. Stack the slices so in such a way so that a vertical cross section through the stack, through the created cube ends up matching the original 2D image. Can create the 3D images in multiple ways and compare to confirm that indeed the 3D images are as expected.

SimonBiggs commented 7 years ago

I have created a notebook overviewing the tests:

https://github.com/SimonBiggs/npgamma/blob/master/Agnew%20and%20McGarry%20Tests.ipynb

They are not yet nosetests. But for now, within a notebook, is sufficient. Now that this testing process has begun I shall work on issue #14 and then come back to this issue.

SimonBiggs commented 7 years ago

It needs to be noted that an interpolation distance that was divisible into the grid spacing was used. The effect of changing this was not investigate and it needs to be for this current implementation.