@mjo22 has put together improved + much faster CPU/GPU implementations for calculating the bispectrum in https://github.com/mjo22/spatialstats/.
Michael also caught minor bugs in the turbustat implementations that should be fixed and enable all 3 implementations to return the same answer:
Neither of these bugs significantly changes the TurbuStat output for its current uses. For example, bispectra are compared using the same number of samples, so the normalization will not affect the difference between the two.
@mjo22, let me know if there are any important points I've missed! Or if you want to clarify anywhere. Thank you!
@mjo22 has put together improved + much faster CPU/GPU implementations for calculating the bispectrum in https://github.com/mjo22/spatialstats/.
spatialstatsas an optional dependency and expose the option to use the improved implementations inBispectrumMichael also caught minor bugs in the turbustat implementations that should be fixed and enable all 3 implementations to return the same answer:
Neither of these bugs significantly changes the TurbuStat output for its current uses. For example, bispectra are compared using the same number of samples, so the normalization will not affect the difference between the two.
@mjo22, let me know if there are any important points I've missed! Or if you want to clarify anywhere. Thank you!