mxcube / mxcubecore

Backend used by MXCuBE
http://mxcube.github.io/mxcube/
GNU Lesser General Public License v3.0
11 stars 51 forks source link

utility module for unit conversions (mxcubecore.utils.units) #942

Closed elmjag closed 2 weeks ago

elmjag commented 2 weeks ago

Adds mxcubecore.utils.units module, so there is a common place for unit conversion utility functions. Adds some initial functions to convert between time, energy, length and current units.

The idea is that we'll add more functions in this module, as the need arises.