Hello everyone, I would need some hints regarding the spectral analysis for spike trains. I am new in this field, and I don't really know how to deal with it. I read some notes about spectral analysis and spike trains, but I still cannot manage to obtain what I would like to obtain.
Here is my issue: we have two spike trains which are modeled by inhomogeneous Poisson process and which I represent as the sum of Dirac delta functions.
What I would like to get is the power spectrum of the two, and the cross-spectrum between them.
I tried both by using pwelch function and by using xcorr() and fft functions, but I do not get (even close to) what I would expect.
Am I wrong in using such representation of spike trains of Dirac delta?
Any suggestions will be more than appreciated. Thank you