i have a time discrete signal that may contain many missing values. and i want to do a fourier transformation on it.
what can i do to handle them properly?
following diagram may show the case
signalpresence x x x x x x x x x x x x x x x x x x x x x
timesteps ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
the missing values are periodically since they came from the frame gap of an image sensor that row frequency is higher than the actual image height.
setting the missing values to zero distorts the output.
is there a library that handles time/value pairs?
(of course it has to be fast, too :-) )