summaryrefslogtreecommitdiff
path: root/tests/python
AgeCommit message (Collapse)Author
2021-12-06Fix testWillem Jan Palenstijn
2021-12-01Add test for FDK shortscan scalingWillem Jan Palenstijn
2021-01-22Fix supersampling version of cone_bp and add testWillem Jan Palenstijn
2019-09-25Add unit tests for 3D adjointsWillem Jan Palenstijn
2019-09-25Enable all 2D projector testsWillem Jan Palenstijn
2019-09-25Add 3D reconstruction scaling testWillem Jan Palenstijn
2019-09-25Add test for reconstruction scalingWillem Jan Palenstijn
2019-09-25Adjust adjoint to line integral scalingWillem Jan Palenstijn
2019-09-25Dynamically create python test functionsWillem Jan Palenstijn
2019-09-25Adjust strip kernels to line integral scalingWillem Jan Palenstijn
2019-09-25Adjust distance driven kernels to line integral scalingWillem Jan Palenstijn
2019-09-25Adjust linear/cuda kernels to line integral scalingWillem Jan Palenstijn
2019-09-25Adjust line kernels to line integral scalingWillem Jan Palenstijn
2019-03-29Fix scaling for fan/strip projectorWillem Jan Palenstijn
The strip model for a fan beam geometry wasn't taking pixel magnification into account. Among other things, this resulted in diagonals through rectangles being weighted the same as hor/ver lines. This commit fixes this by scaling each pixel contribution by its magnification on the detector. This is only an approximation (since the magnification isn't constant inside the pixel), but since pixels are usually small, the error is also small. Unfortunately, computing this scaling factor is relatively expensive because it introduces a square root in the inner loop.
2019-03-25Clean up projector unit testsWillem Jan Palenstijn
2019-03-23Add linear projector testsWillem Jan Palenstijn
2019-03-23Add strip projector testsWillem Jan Palenstijn
2019-01-30test_line2d: Add tests for distance_driven projectorWillem Jan Palenstijn
2017-10-11Add tests for 2D line kernelsWillem Jan Palenstijn