Fourier transform capabilities in reconstructing missing data

In summary, the conversation discusses the possibility of sample restoration in Discrete Fourier Transform by using the FFT algorithm on the time domain and extracting information from the frequency domain. While it is possible to use this method, the reconstructed signal will not be an exact representation due to the limitations of representing a bandwidth limited signal with a finite number of samples. Additionally, the conversation also touches on the use of oversampling and band-limited signals in this process.
  • #1
Gedelian
7
0
Hi,

I know this topic is more suited for Computing & Technology, but it has even more to do with general questions about Fourier transform capabilities. I have a question about sample restoration in Discrete Fourier Transform. Suppose we have a signal with the stack of frequencies from 1 Hz to 128 Hz, and the number of samples is twice the number of frequencies, i.e. 256. If for some reason half of the samples is lost, first half or last half (128 samples), can we restore completely those lost samples from the remaining half? Note that in this case the one who has to restore the signal doesn`t know what frequencies are in the signal, but does know the number of the missing samples. Can we find all the frequencies from that sparse signal? In this example, the frequencies are harmonics and all beginning at the same faze and with the same amplitude.

If we apply FFT algorithm on the time domain, I assume that the information about missing samples can be extracted from the frequency domain, because all sine waves have the same length in a time domain, and the only thing which happened is that frequencies are missing their fazes, for example, 1Hz is cut in half of its faze, 2Hz are missing a whole faze, and so on. Is it possible to use FFT to analyze the remaining samples, discover all the frequencies in a frequency domain, and use those frequencies to recreate a time domain and restore missing samples?

I ask this because I found a paper about recovering missing samples from oversampled band-limited signals. There is a statement in it which says that a band-limited oversampled signal is completely determined even if an arbitrary finite number of samples is lost. I understood this statement as described above. I just want to clarify this in the general sense of the matter, the possibility or feasibility of that kind of sample restoration.

And, if this method of sample restoration is possible, I have another question. Given the previous example, can a signal be restored if we continue to stack frequencies from 128Hz on, as fn + 1Hz = fn+1, n<256? Is there an algorithm that can find all the frequencies in a partial time domain, as I described here, even if there are greater number of frequencies than the number of remaining samples?

If it`s not absolutely necessary, please don`t insert math equations because all I see is [Math Processing Error], write them in text instead. Thank you.
 
Physics news on Phys.org
  • #2
The key words are "oversampled" and "bandwidth limited".

Without those restrictions, you can't reconstruct anything, because every data point (in the both the time domain and the frequency domain) is independent of all the other data points.
 
  • #3
OK, my mistake. Let`s say that, in the same example, the stack of frequencies is still from 1 to 128 Hz, the max bandwidth is 256 Hz, and the signal is oversampled 2x, giving the total of 512 samples. If half of the samples are lost (first or last 256 samples), is it possible to restore the whole signal without losses? And if that same signal had additional frequency stacking like fn + 1Hz = fn+1, n<256, can all those frequencies be restored in their domain, and make an inverse FFT to recreate a complete time domain with all 512 original samples? And, if it`s possible, how it`s done?

Sorry for all those question marks, I hope to find the wright answers.

Thanks again.
 
  • #4
If should be farily easy to see this won't work, without doing any math. If it did work, you could repeat it as may times as you want, and re-create an arbitrary amount of the original signal from just 256 samples.

If you are sampling at 512 samples/sec, your 256 samples cover 0.5 sec of data. When you do the FFT, you get frequencies of 0, 2, ... 512 Hz (or -256, -254, ... -2, 0, 2 ... 256 of you prefer). If the signal is bandwidth limited to 128 Hz, half of the amplitudes should be zero, but the calculated ampltides will NOT be zero, because the FFT is taking a finite length of data and assuming that is repeats as a periodic signal. That periodic signal will NOT be bandwidth limited to 128 Hz, because the two ends of the sample won't "match up" properly. It will only be limited to the Nyquist frequency of 256 Hz.

So, if you try to extend the 256 samples to 512, you have two problems. One is that half the 256 Fourier coefficients are "wrong" (they are nonzero but they should be zero). The other is that you don't have amplitudes for the frequencies of 1, 3, 5 ... 255 Hz. You could make some approximations to generate the missing Fourier data, but that won't re-create the missing data exactly.

There is an underlying "catch 22" here. A bandwidth limited (analog) signal must have nonzero amplitude for an infinite amount of time, so you can't represent its frequency content "exactly" from a finite number of samples. On the other hand, a signal with infinite bandwidth CAN be zero everywhere except for a finite time interval, but you can't represent it "exactly" with a finite number of frequencies so you need still need an "infinite" number of samples and an "infintely high" sampling rate.

Of course you can use techniques like this to change the sample rate and/or interpolate missing data approximately in a useful way, but that's not the same as regenerating the missing data exactly.
 

1. What is a Fourier transform and how is it used to reconstruct missing data?

A Fourier transform is a mathematical tool used to analyze the frequency components of a signal. It converts a signal from its original form (such as a time domain signal) into a representation in the frequency domain. In the context of reconstructing missing data, the Fourier transform can be used to fill in gaps or missing values in a signal by extrapolating from the surrounding data. This is because the Fourier transform captures the underlying patterns and frequencies present in the signal, allowing for accurate reconstruction of missing data points.

2. Can the Fourier transform be used to reconstruct any type of missing data?

The Fourier transform is most effective in reconstructing data that follows a sinusoidal pattern or contains periodic components. This means that it may not be as effective for data that does not have a clear underlying frequency or pattern. However, with the use of advanced techniques such as the windowed Fourier transform and time-frequency analysis, it is possible to reconstruct missing data in a wider range of signals.

3. What are the limitations of using the Fourier transform for reconstructing missing data?

One limitation is that the Fourier transform assumes that the signal is stationary, meaning its properties do not change over time. This may not be the case for all types of data. Additionally, the Fourier transform can only accurately reconstruct missing data if the gaps are relatively small compared to the overall length of the signal. If there are large sections of missing data, the reconstructed signal may not be as accurate.

4. Are there any alternative methods for reconstructing missing data besides the Fourier transform?

Yes, there are other methods such as interpolation, curve fitting, and machine learning algorithms that can be used to fill in missing data. Each method has its own advantages and limitations, and the most appropriate technique will depend on the type of data and the specific goals of the reconstruction.

5. How can the accuracy of the reconstructed data be evaluated?

The accuracy of the reconstructed data can be evaluated by comparing it to the original data or using quantitative measures such as mean squared error or root mean squared error. It is also important to consider the context and purpose of the reconstruction, as the accuracy may vary depending on the specific application. Additionally, visual inspection of the reconstructed data can provide valuable insights into its accuracy and potential limitations.

Similar threads

Replies
6
Views
2K
Replies
5
Views
1K
  • Electrical Engineering
Replies
4
Views
828
Replies
6
Views
975
  • Classical Physics
2
Replies
47
Views
2K
Replies
11
Views
860
  • General Math
Replies
12
Views
1K
Replies
5
Views
7K
Back
Top