Usually, Fourier Transform in mathematica is supplied by y data only, like the famous Sin[x] transform example. What if my data is a list of {x,Sin[x]}? and x has units (for example, nm)? I would expect to see a spectrum with the correct units as frequencies. How can I achieve this?
Data1 = Table[Sin[x], {x, 0, 2*Pi, 2*Pi/1000}];
ListPlot[Abs[Fourier[Data1]], PlotRange -> All, Joined -> True]
and you see the plot doesn't make much sense. Although i have 2 peaks, their frequencies are not specified. I actually couldn't know which is + frequency and which is - frequency. In deed, i can not make much sense of this plot except for it has peaks.
Data2 = Table[{x, Sin[x]}, {x, 0, 2*Pi, 2*Pi/1000}];
ListPlot[Abs[Fourier[Data2]], PlotRange -> All, Joined -> True]
I would expect this to recover the x-axis information. But it doesn't . So what should I do if I wanted to know, for example, the peaks in the plot has a meaningful x axis, corresponding to , 2\Pi for example
Thanks


Frequency identificationexample on theFourier[]doc page – Dr. belisarius Dec 18 '14 at 21:42Fourier[data1, FourierParameters -> {0, 2*Pi/1000}]– Daniel Lichtblau Dec 18 '14 at 22:03