Source code for sense.util

"""Module for some utilty functions."""

c0=299792458.  # speed of light [m/s]

[docs] def f2lam(f): """Given the frequency in GHz, return the wavelength [m].""" return c0/(f*1.E9)