SignalPadding Enumeration

Specifies the boundary padding mode for signal processing operations.

Definition

Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
C#
public enum SignalPadding

Remarks

These padding modes define how a signal is extended beyond its boundaries when performing operations like convolution or correlation.

For a signal [0, 1, 2, 3, 4, 5] with boundaries at both ends:

  • Zero: ...0 0 0 | 0 1 2 3 4 5 | 0 0 0...
  • Reflect: ...3 2 1 | 0 1 2 3 4 5 | 4 3 2...
  • Replicate: ...0 0 0 | 0 1 2 3 4 5 | 5 5 5...
  • Wrap: ...3 4 5 | 0 1 2 3 4 5 | 0 1 2...

Members

Zero0 Pad with zeros outside the signal boundaries.
Reflect1 Reflect the signal at the boundaries (mirror without repeating edge values).
Replicate2 Replicate the edge values to extend the signal.
Wrap3 Wrap the signal periodically (circular extension).

See Also