simonsobs / pixell

A rectangular pixel map manipulation and harmonic analysis library derived from Sigurd Naess' enlib.
Other
42 stars 32 forks source link

Update from development repo #276

Closed amaurea closed 6 days ago

amaurea commented 1 week ago

There is some chance of breakage with this update. It changes the mode keyword of utils.interpol and other functions that use it, such as enmap.at, enmap.project, etc. mode used to control the boundary conditions, but that's now called border. mode now controls the interpolation type, e.g. if it's spline-based. This was done to start adding non-uniform fft interpolation, which is partially implemented here, but still waiting for ducc to support incremental nuffts.

There is also a small change in the behavior of enmap.submap, which can cause 1-pixel shift in the size of the maps cut out with this operation due to differences in pixel rounding.

This update also contains the start of a new way to construct geometries that will make it easier to create patches with Fejer1 pixelization. This part isn't quite done yet though, but doesn't impact the existing geometry functions.