dihedral

Crates.iodihedral
lib.rsdihedral
version0.0.4
sourcesrc
created_at2020-10-15 18:38:06.035068
updated_at2020-10-15 21:40:02.803663
descriptionDihedral (torsion) angle calculations
homepage
repositoryhttps://github.com/TianyiShi2001/dihedral
max_upload_size
id300115
size9,879
Tianyi Shi (TianyiShi2001)

documentation

https://docs.rs/dihedral

README

dihedral

crates.io crates.io crates.io docs.rs

This crate provides functions for working with dihedral angles. Currently, there are two functions:

  • dihedral calculates the dihedral angle in the range -π to π in accordance with biochemistry textbooks (see also: https://en.wikipedia.org/wiki/Dihedral_angle#In_stereochemistry)
  • dihedral_unsigned ignores the direction of rotation and outputs the angle within the range 0 to π. This function is faster than the above signed version.
Commit count: 6

cargo fmt