amaurea / enlib

5 stars 12 forks source link

resample_fft introduces an offset in the map #52

Closed msyriac closed 6 years ago

msyriac commented 6 years ago

If I downsample a map using resample_fft, an offset is introduced in the map. This is demonstrated in this notebook: https://github.com/msyriac/orphics/blob/master/scripts/EnlibResampleBug.ipynb

msyriac commented 6 years ago

Sigurd wrote a new function enmap.resample that resamples onto an identically bounded geometry. Closing.