I have multiple files from an experiment in frequency-domain that I would like to use ifft()
function to convert to the time domain in R to apply signal processing techniques.
My question is about the principle of this conversion: at the moment my frequency values are non-complex numbers (I believe they are in their absolute form).
So, to convert these columns using
ifft()
function, should I use the absolute values or there is a way break these values down to the complex form and then doifft()
on those?My other question is, which form (absolute or real) is the best form to save my data in the time domain for further signal processing techniques?
If this helps, my data looks like this:
| Time (s)| 0.0000 |0.000164|...
|:--------|--------|:-------|:-------
| 1.52kHz | 2747 | 350 |...
| 3.05kHz | 2996 | 420 |...
| 4.57kHz | 4078 | 300 |...
| ... | ... | ... |...
Total of $513$ rows $\times$ $122041$ cols, sampling frequency of $1562.5\textrm{ kHz}$.