File: utils.py~

package info (click to toggle)
python-renishawwire 0.1.16-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,056 kB
  • sloc: python: 1,368; makefile: 28
file content (8 lines) | stat: -rw-r--r-- 152 bytes parent folder | download
1
2
3
4
5
6
7
8
# Some tiny functions for converting things
from scipy.constants import c, h


def convert_wl(wn):
    """Convert wavenumber (cm^-1) to nm
    """