EmpiricalModeDecompositionSubtractMeanEnvelope Method |
Subtracts the mean envelope from the signal signal.
Namespace: Altaxo.Science.SignalsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic bool SubtractMeanEnvelope(
ReadOnlySpan<double> x,
double[] y,
IReadOnlyList<int> minimaIndices,
IReadOnlyList<int> maximaIndices
)
Parameters
- x ReadOnlySpanDouble
- The x values of the signal.
- y Double
- The y-values of the signal. On return, this array is modified (mean envelope is subtracted).
- minimaIndices IReadOnlyListInt32
- The minima indices of the signal.
- maximaIndices IReadOnlyListInt32
- The maxima indices of the signal.
Return Value
Boolean if a mean envelope was subtracted; otherwise,
.
See Also