This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Lanczos interpolation (resampling): 1D. | |
Written by Michael Wood-Vasey | |
based on https://en.wikipedia.org/wiki/Lanczos_resampling | |
""" | |
from __future__ import division, print_function | |
import numpy as np | |
def lanczos_kernel(x, order): |