-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: affine map tests #693
Conversation
Set `affine_inv` unconditionally to make sure that it is set to None, even if the affine is not valid.
Probably, because the AffineMap was to be discussed in a following PR and first see if it can be used with SLR. |
So was the plan to leave AffineMap in without tests until then? Can you be say more about what this future PR might be? |
Hi @matthew-brett ! Thanks for the reminder. No, this is definitely not staying in without tests. The first question should be if we need the AffineMap. The AffineMap is currently not being used for registration. The tutorial is misleading! The PR should be about the AffineMap and it's possibility to be used with SLR. Maybe two PRs in total. One from me and one from Omar. Mine will probably come later. There was also some discussion about separating the linear metrics with the nonlinear. I would like to see a PR for that too. On a side note I am currently running both the affine registration and the nonlinear registration with some demanding data. All good so far. |
It looks like the |
I was talking about this tutorial https://github.com/nipy/dipy/blob/master/doc/examples/affine_registration_3d.py#L50 |
Oh damn. I missed this. He has used it in the actual imaffine file. No okay I understand now why you were worried about this. @omarocegueda can you make a PR asap with tests for the AffineMap? |
Hi @matthew-brett @Garyfallidis,
sure!, this will be my priority today. |
Hi @matthew-brett , @Garyfallidis, |
Is this superseded by #700? Should we close this one? |
Here I did the change to
set_affine
I mentioned in the PR discussion#690 (comment)
I was going to add a test, but then I noticed that
AffineMap
has no tests -can that be right?