I am trying to compute directly a spectrum from the so called event series. Which is a series of Dirac impulses allocated at the times of R waves in an ECG.
I know that it is possible to low pass filter the series and get an evenly sampled representation of the HRV which can be easily analyzed. I am using this approach already but I would like to compute the spectrum (spectrum of counts) also directly from the unevenly sampled Dirac impulse series.
Can anyone suggest an algorithm for this?