Skip to main content

Module all_phase

Module all_phase 

Source
Expand description

All-phase interpolation on a uniform grid.

Structsยง

AllPhase2D
All-phase interpolation of order n: the result is the average, over all n alignments of an n-sample window that contains the query point, of the sinc interpolation computed inside that window. A sample at distance d from the query lies in n - |d| of those windows, so the averaged kernel is sinc(d) (1 - |d|/n) for |d| < n (a triangular taper, the convolution of two rectangular windows). Compared with a hard truncation of the sinc this suppresses the ringing caused by window edges. Applied separably; weights are renormalised along each axis.