add cross-correlation functionality to accept CrossSpectrum objects?
Hi,
Currently, the cross-correlation function only accepts two lightcurve objects. It would help to have the option to have an Average/Crossspectrum object be a potential input as well.
pinging: @abigailStev @swapsha96
Also pinging @dhuppenkothen @matteobachetti
Thanks @davis191, good suggestion. I don't personally know when I'll have the time to work on this, but if you and/or someone else come out with an implementation I can help adapting it to our code.
Where does one begin to implement it? Any details?
Isn't the cross correlation just the inverse Fourier transform of the cross spectrum? If so, the implementation should be very straightforward. The relevant class is in stingray/crosscorrelation.py. We could modify the __init__ method to allow a cross spectrum object.
Yeah! It should be fairly simple. I can give it a go this afternoon!
Hi , has this issue been solved?