Click or drag to resize

RealFourierTransformation2D Class

Class to assist in executing a 2D Fourier transform on data originating from a matrix of real values.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.FourierRealFourierTransformation2D

Namespace: Altaxo.Calc.Fourier
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class RealFourierTransformation2D

The RealFourierTransformation2D type exposes the following members.

Constructors
 NameDescription
Public methodRealFourierTransformation2D(IROMatrixDouble) Initializes a new instance of the RealFourierTransformation2D class.
Public methodRealFourierTransformation2D(IMatrixDouble, Boolean) Initializes a new instance of the RealFourierTransformation2D class.
Top
Properties
 NameDescription
Public propertyColumnSpacing Custom spacing of the original input values in column direction. After the Fourier transformation, this value is used to calculate the column frequencies.
Public propertyNumberOfColumns 
Public propertyNumberOfRows 
Public propertyRowSpacing Custom spacing of the original input values in row direction. After the Fourier transformation, this value is used to calculate the row frequencies.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecute Executes the Fourier transformation. First, the dimensions of the matrix are checked. Then the original data is pretreated by calling all Action that are registered in DataPretreatment. Finally, the Fourier transformation is executed.
Protected methodExecuteFourierTransformation Executes the fourier transformation itself (without data pretreatment).
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetColumnFrequencies Gets the column frequencies.
Public methodGetColumnFrequenciesCentered Gets the column frequencies. Here, the column frequency of zero is located in the center of the matrix.
Public methodGetFourierAmplitude Gets the resultant matrix of Fourier amplitudes.
Public methodGetFourierAmplitudeCentered Gets the resultant matrix of Fourier amplitudes. Here, the value associated with a row and column frequency of zero is located in the center of the matrix.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetResult(IMatrixDouble, FuncDouble, Double, Double) Gets the result of the Fourier transformation.
Public methodGetResult(Double, Double, RealFourierTransformationOutputKind, IMatrixDouble, IReadOnlyListDouble, IReadOnlyListDouble) Gets a result of the Fourier transformation.
Public methodGetResult(Double, Double, FuncDouble, Double, Double, IMatrixDouble, IReadOnlyListDouble, IReadOnlyListDouble) Gets a result of the Fourier transformation.
Protected methodGetResultCentered(IMatrixDouble, FuncDouble, Double, Double) Gets the result of the Fourier transformation. Here, the value associated with the row and column frequency of zero is located in the center of the matrix.
Public methodGetResultCentered(Double, Double, RealFourierTransformationOutputKind, IMatrixDouble, IReadOnlyListDouble, IReadOnlyListDouble) Gets a result of the Fourier transformation. Here, the row and column frequency of zero is located in the center of the matrix.
Public methodGetResultCentered(Double, Double, FuncDouble, Double, Double, IMatrixDouble, IReadOnlyListDouble, IReadOnlyListDouble) Gets a result of the Fourier transformation. Here, the row and column frequency of zero is located in the center of the matrix.
Public methodGetRowFrequencies Gets the row frequencies.
Public methodGetRowFrequenciesCentered Gets the row frequencies. Here, the row frequency of zero is located in the center of the matrix.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodPretreatment Executes all data pretreatment actions registered in DataPretreatment.
Public methodStatic memberRemoveFirstOrderFromMatrixIgnoringInvalidElements Removes the first order of a matrix by calculating the parameters a, b, c of the regression of the matrix in the form: z = a + b*x + c*y (x and y are the rows and columns of the matrix, z the matrix elements ), and then subtracting the regression function from each matrix element, thus effectively removing the first order. Here, only matrix elements that have a finite value are included in the calculation of the regression.
Public methodStatic memberRemoveSecondOrderFromMatrixIgnoringInvalidElements Removes the second order of a matrix by calculating the parameters a, b, .. e, f of the regression of the matrix in the form: z = a + b*x + c*y + d*x*x + e*x*y + f*y*y (x and y are the rows and columns of the matrix, z the matrix elements ), and then subtracting the regression function from each matrix element, thus effectively removing the second order. Here, only matrix elements that have a finite value are included in the calculation of the regression.
Public methodStatic memberRemoveThirdOrderFromMatrixIgnoringInvalidElements Removes the third order of a matrix by calculating the parameters a, b, .. i, j of the regression of the matrix in the form: z = a + b*x + c*y + d*x*x + e*x*y + f*y*y + g*x*x*x + h*x*x*y + i*x*y*y + j*y*y*y (x and y are the rows and columns of the matrix, z the matrix elements ), and then subtracting the regression function from each matrix element, thus effectively removing the third order. Here, only matrix elements that have a finite value are included in the calculation of the regression.
Public methodStatic memberRemoveZeroOrderFromMatrixIgnoringInvalidElements Removes the zero-th order of a matrix by calculating the mean of the (valid) matrix elements, and then subtracting the mean from each matrix element. Here, only matrix elements that have a finite value are included in the calculation of the mean value.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventDataPretreatment Registering point for data pretreatment actions. All actions that are registered here will be executed immediately before the Fourier transformation. The provided matrix is the matrix of the values to transform.
Top
Fields
See Also