If the data is all ready in the frequency domain, just divide each frequency line by jw. I suspect, if you were able to get the data into the frequency domain, you were using a program, and this program should have the ability to integrate in the frequency domain. Many even do the double...