Replies: 1 comment
-
Hi @ruihao69! Welcome to distopia! If you are looking to calculate angles the To obtain the vectors themselves, you can use a setup similar to https://www.mdanalysis.org/MDAnalysisTutorial/trajectories.html In terms of outputting the vectors, they are not useful per se apart from calculating bond, angle and dihedral values. If you need to use the vectors in your own work, you will need to write a similar function to the one in the tutorial above and use some linear algebra! Let me know if you have any questions :) |
Beta Was this translation helpful? Give feedback.
-
Hello, MDAnalysis development team.
In the MDAnalysis package, function 'calc_bonds' in 'MDAnalysis.lib.distances' provides an excellent way to calculate distances between two groups of coordinates. However, the vector of each coordinate pair is also useful for angle calculations, but the original function does't output these vectors. Would you like to add this feature to future release of MDAnalysis or distopia?
Beta Was this translation helpful? Give feedback.
All reactions