Closed roflmaostc closed 3 years ago
Hey, it looks like it would be dependency-free to add it, so a PR is definitely welcome.
There might be some performance issues when accidentally providing a
ShiftedArrray
to afft
but I'm not sure and we might discuss such issues?
In the end AFAIU fft
is done by a C library, so I think the CircShiftedArray
will have to be converted to a standard layout, and then the same C routine would be called.
OK cool 😎 I'll prepare a PR for that!
Thanks a lot for your help and sorry for the slight mess :upside_down_face:
Hey,
is there any possibility that we can include something like a
ShiftedArray.fftshift
orShiftedArray.ifftshift
. It would be a convenient wrapper to callfftshift
andifftshift
but prevent the allocation of memory.There might be some performance issues when accidentally providing a
ShiftedArrray
to afft
but I'm not sure and we might discuss such issues?If you support that idea we can help adding that :)
Thanks,
Felix