Skip to content

Use DCT instead of RFFT/IRFFT in pyfftw_sdp #31

@NimaSarajpoor

Description

@NimaSarajpoor

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions