import numpy as np def omega(freq): """Change frequency to angular frequency, omega""" return 2.*np.pi*freq