-
Notifications
You must be signed in to change notification settings - Fork 437
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
Fixed typos + autopep8 #273
Conversation
""" Rodriguez formula | ||
|
||
Rotation matrix for rotation around axis r for angle theta. | ||
|
||
The rotation matrix is given by the Rodrigues formula: | ||
The rotation matrix is given by the Rodriguez formula: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You would think, but it doesn't seem so: http://en.wikipedia.org/wiki/Rodrigues'_rotation_formula
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which also suggests that we should change it everywhere else...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though there was one typo, not the opposite. The problem is that correcting it will also change the function name, breaking any custom script function using it. We can change it seems seldom used I guess.
This all looks good to me, except for the Rodrigues/Rodriguez spelling On Mon, Nov 25, 2013 at 1:09 AM, Samuel St-Jean notifications@github.comwrote:
|
This is a little off topic, but how do you guys feel about thinning this module? The following functions are not tested in compose_matrix The following functions are tested in cart_distance |
I also grepped the whole dipy tree and the function doesn't seems to be imported anywhere. So it will only break user's script, which is bad if anyone was using that. |
@samuelstjean, @MrBago I am going to have a PR soon (but after the release) which will use some of these functions. I would suggest to clean up these functions after that. @samuelstjean thank you for the pep8 update. This was old code from the time were we were not forcing pep8. Thx! |
Found some small typos when viewing docs, so I corrected them and ran an autopep8 on the file as well.