SincInterpolation<T>
Models & Types · AiDotNet.Interpolation
Implements Sinc interpolation for 1D data points.
Implements: IInterpolation<T>
For Beginners
Sinc interpolation is like creating a smooth curve through your data points that preserves the frequency characteristics of your original data. It’s particularly good for signals like audio or sensor data where you want to maintain the original frequencies when filling in gaps between known points. Think of it as drawing a curve that not only passes through your points but also maintains the “rhythm” or “pattern” of your data.
How It Works
Sinc interpolation is a technique based on the Whittaker–Shannon interpolation formula, which is theoretically perfect for band-limited signals.
Constructors
| Constructor | Summary |
|---|---|
SincInterpolation(Vector<T> x, Vector<T> y) |
Creates a Sinc interpolation with a cutoff frequency of 1. |
SincInterpolation(Vector<T> x, Vector<T> y, T cutoffFrequency) |
Initializes a new instance of Sinc interpolation with the specified data points. |
Methods
| Method | Summary |
|---|---|
T Interpolate(T x) |
Interpolates a y-value for the given x coordinate using Sinc interpolation. |