Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
DO NOT MERGE: Add a test of local tracking, using data from dipy.data. #1043
I put this here, just to demonstrate something that I have encountered. The localtracking module seems to raise a spurious error, even for data that is regularly sampled. Unless I am misunderstanding something, the script that I have added as
Shouldn't this all run smoothly?
In this image, the affine is:
It raises a flag because, somehow, the affine is not symetric 'enough'. affine[0,1] != affine[1,0]. Any idea why this is the case? I'm not very familiar with this...
If you would reduce the error tolerance, e.g. by changing line 28 of
For the test, add
Thanks for the tip @gabknight! Indeed, adding tolerance here did make this work.
I am not sure why this particular affine has this characteristic. I am not even sure where the