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
A function for computing the minimum distance between two dihedral angles #13673
Comments
Hi! Are you proposing to implement this feature yourself? |
Hi @tupui, |
I don't think it exists no. You could try to ask on the mail list or if you're confident this is actually wanted propose a PR. astropy seem to have more options: https://docs.astropy.org/en/stable/stats/circ.html |
I am not very aware of the subject. Could you share some papers / formula which explains how to compute this difference? |
@V0lantis It is just the minimum image convention.
|
Ok thank you, I found a lot of interesting articles :-). |
@V0lantis Yes, it looks like a reasonable one to me. Thank you. |
I'm not sure that |
Is your feature request related to a problem? Please describe.
It is quite common that one might want to know the absolute difference between two dihedral angles or between two dihedral angle n-dimensional arrays, so it would be nice if such a function exists in scipy.stats similar to scipy.stats.circmean or scipy.stats.circvar.
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: