(Maybe this should be on Stackoverflow instead ...)
What is the best way to calculate the ambiguity function? There are different implementations out there for Python (like PyTFTB or from TooringAnalytics) and Matlab but there are many difficulties:
1. Python - PyTFTB
I am not sure whether the implementation of pytftb is what I am looking for because the plots for 200 Samples of my data always look similar. Here are two examples:
I'd expect more distinct plots. The plots were generated like this:
from tftb.processing import ambiguity
waf, tau, theta = ambiguity.wide_band(signal)
cntr = plt.contourf(tau, theta, np.abs(waf) ** 2, cmap="Greys", antialiased=True)
// even less difference when I use np.abs(waf) ** 2
plt.imsave("filename.jpg", np.abs(waf), cmap="jet")
2. Python - TooringAnalytics
Unfortunately I can't make this one work. Maybe this is content for another question.
3. Matlab
Is not an option. I tried my best to translate this to R but couldn't make it work.
4. R
Unfortunately I couldn't find an implementation yet in R.
I'd really like to ask Dreamcooled how he computed his ambiguity function.
Thanks for your help