[ase-users] Radians or degrees?

- mazay0 at gmail.com
Mon Aug 22 11:56:36 CEST 2016


Usage of different units is the worst case. If it's unavoidable such values
should be wrapped. Something like that: https://pypi.python.org/pypi/units
Radians is a better choice, because they have geometrical meaning.
ase.spacegroup.crystal() calls cellpar_to_cell() that converts degrees into
radians.
Degrees are for visualization, representation, I/O etc. Radians - for
calculations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20160822/766eb932/attachment.html>


More information about the ase-users mailing list