ModifiedSincSmoother Constructor |
Namespace: Altaxo.Calc.RegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic ModifiedSincSmoother(
bool isMS1,
int degree,
int m
)
Parameters
- isMS1 Boolean
-
If , uses the MS1 variant, which has a smaller kernel size at the cost of
reduced stopband suppression and a more gradual cutoff for degree = 2.
Otherwise, standard MS kernels are used.
- degree Int32
-
Degree of the filter. Must be 2, 4, …, MAX_DEGREE.
As for Savitzky-Golay filters, higher degree results in a sharper cutoff in the frequency domain.
- m Int32
-
The half-width of the kernel. The kernel size is 2*m + 1.
The parameter must be larger than degree/2. It can be determined with BandwidthToM(Boolean, Int32, Double).
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Thrown if degree is invalid, or if m is below the minimum required
half-width for the chosen filter family.
|
See Also