[ase-users] Radians or degrees?

Jens Jørgen Mortensen jensj at fysik.dtu.dk
Mon Aug 22 11:25:22 CEST 2016


Hi!

We currently have a pending merge request that will add some more 
flexibility when specifying unit cells - like [a, b, c, alpha, beta, 
gamma], where alpha, beta and gamma are angles.

The question is should we use radians or degrees?  It would be really 
nice if we used the same units everywhere, but we already have 
Atoms.rotate() which uses radians and ase.spacegroup.crystal() which 
uses degrees.  Also the ase.lattice module and a few new functions in 
the ase.geometry module use degrees.

Should we accept that we use different units in different places or 
should we try to fix it?  Can it be fixed without breaking old code?

Suggestions?

Jens Jørgen



More information about the ase-users mailing list