MASS_V4 uses Discrete-Cosine-Transform(DCT) for sliding-dot-product. See issue #28 for more details. We started to implement this in python and check its performance in PR #30. It might be worth it to try DCT in "pyfftw_sdp". We need DCT (type II) and DCT (type I). According to pyfftw documentation and FFTW documentation (section 4.8.3 DCTs), we can use:
- pyfftw.FFTW(..., direction=
FFTW_REDFT00) for DCT(type I)
- pyfftw.FFTW(..., direction=
'FFTW_REDFT10') for DCT(type II)