Interpolant# class scarlet2.interpolation.Interpolant(extent: int)[source]# Bases: Module Base class for interpolants __call__()[source]# Code to execute when the class is called extent: int# Size of the interpolation kernel kernel(x)[source]# Evaluate the kernel in configuration space at location x Parameters: x (float or array) – Position in real space Return type: float or array uval(u)[source]# Evaluate the kernel in Fourier space at frequency u Parameters: u (complex or array) – Position in Fourier space Return type: complex or array