-
Notifications
You must be signed in to change notification settings - Fork 81
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
Combine rotation commands #159
Comments
I had thought about that, too, but I decided not to. The problem is that On Tue, Dec 8, 2015 at 11:01 AM Christoph Klein notifications@github.com
|
Hmm yeah didn't quite think that through. |
You can still use the rotate command to just rotate about one axis at a time if that were for some reason useful. |
That is true. But still, I think that having the name of the method rotate_around_z(compound, np.pi/4) On Wed, Dec 9, 2015 at 9:41 AM chrisiacovella notifications@github.com
|
We may want to come up with a better name than I might even lean towards swapping the names or perhaps "spin"? |
A spin operator sounds useful, since we often use that for initializing monolayers/bilayers (e.g., spin the molecule around it's long axis to randomize orientations). So to differentiate, spin could be a 2d operation, rotate is the 3d rotation matrix. |
Yes, I like spin. On Wed, Dec 9, 2015 at 1:01 PM chrisiacovella notifications@github.com
|
This might be useful for the forcefield fitting stuff, too. For instance, if we want to calculate the dihedral, we'll spin around a specific bond. |
It might be more elegant to have just two rotation commands:
rotate(compound, thetas)
androtate_around_axis(compound, thetas)
where
thetas
is an array of 3 angles.The text was updated successfully, but these errors were encountered: