Click or drag to resize

DoubleSymmetric2DSignalReader Class

Provides symmetric complex conjugate signal unpacking services. Typically used for unpacking 2D FFT's of real signals.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreDoubleSymmetric2DSignalReader

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public abstract class DoubleSymmetric2DSignalReader

The DoubleSymmetric2DSignalReader type exposes the following members.

Constructors
 NameDescription
Public methodDoubleSymmetric2DSignalReader Creates an polymorphic instance on this class.
Top
Properties
 NameDescription
Public propertyColumns Gets the number of colums in 2D signal data.
Public propertyHalfRows Gets the number of rows in the symmetric half of the 2D FFT signal.
Public propertyItem Gets the value at [row, column] of the packed complex-conjugate symmetric signal.
Public propertyRows Gets the number of rows in 2D signal data.
Top
Methods
 NameDescription
Public methodUnpackFullToArray Builds the unpacked signal representation of the entire packed complex symmetric signal.
Public methodUnpackFullToMatrix Builds the unpacked signal representation of the entire packed complex symmetric signal.
Public methodUnpackSymmetricHalfToArray Builds a unpacked signal of the symmetric leading half of the packed signal.
Public methodUnpackSymmetricHalfToMatrix Builds a unpacked signal of the symmetric leading half of the packed signal.
Top
Remarks
Use this reader for extracting packed signal data resulting from forward 2D FFT's of real signals. The FFT instance used to generated the signal data must be queried for the appropriate reader using the GetSignalReader() method. This guarantees that the correct packed signal reader is constructed.
Example
C#
// Computes a 2x3 FFT, and then unpacks the results using a symmetric 2D signal reader.
double[,] m23 = { { 6, 5, 4 }, { 4, 3, 4 } };
DoubleForward2DFFT fft23 = new DoubleForward2DFFT(2, 3);
fft23.FFTInPlace(m23);
DoubleSymmetric2DSignalReader reader = fft23.GetSignalReader(ref m23); // Get correct signal reader from fft instance.
DoubleComplex[,] fftresult = new DoubleComplex[reader.Rows, reader.Columns];
reader.UnpackFull(ref fftresult);
See Also