ModifiedSincSmootherNoiseGainToM Method |
Calculates the kernel half-width m best suited for obtaining a given noise gain.
Namespace: Altaxo.Calc.RegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static int NoiseGainToM(
bool isMS1,
int degree,
double noiseGain
)
Parameters
- isMS1 Boolean
-
If , calculates for 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
- The degree of the kernel.
- noiseGain Double
- The factor by which white noise should be suppressed.
Return Value
Int32The required kernel half-width
m.
See Also