I am trying to convert a MATLAB program to python. I am having problems setting up the cross power spectral density function and obtain matching results with Ma