6
$\begingroup$

I have a waveform which I would like to take the fourier transform of. However, the simulator which generated the waveform uses an adaptive algorithm to determine the timestep for each calculation.

Now, I figure I can regularize the timestep to first order by creating a new timebase and for each point in the new base calculating a linear interpolation from the two nearest points in the original sequence, but this seems inelegant, and potentially incorrect.

I also considered expanding the original sequence with whatever the smallest time-step is, replicating data points to fill-in the missing data (effectively creating steps), and then filtering the resulting fourier transform above some frequency (or simply ignoring data above some frequency).

Either of these will probably work with the data I have, since it is heavily oversampled for the frequency range I am interested in, but I worry that both would cause distortions if that were not the case.

Is there a better method?

2 Answers 2