Click or drag to resize

InterpolatedPeakFunctionFrom2DTable Class

Peak function whose shape is defined by a two-dimensional lookup table stored in a DataTable.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.FitFunctions.PeaksInterpolatedPeakFunctionFromMatrix
    Altaxo.Calc.FitFunctions.PeaksInterpolatedPeakFunctionFrom2DTable

Namespace: Altaxo.Calc.FitFunctions.Peaks
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class InterpolatedPeakFunctionFrom2DTable : InterpolatedPeakFunctionFromMatrix, 
	IEquatable<InterpolatedPeakFunctionFrom2DTable>

The InterpolatedPeakFunctionFrom2DTable type exposes the following members.

Constructors
 NameDescription
Public methodInterpolatedPeakFunctionFrom2DTable Initializes a new default instance of the InterpolatedPeakFunctionFrom2DTable class.
Public methodInterpolatedPeakFunctionFrom2DTable(Int32, Int32, DataTable, Int32, String, Boolean) Initializes a new instance of the InterpolatedPeakFunctionFrom2DTable class.
Public methodInterpolatedPeakFunctionFrom2DTable(Int32, Int32, String, Int32, String, Boolean) Initializes a new instance of the InterpolatedPeakFunctionFrom2DTable class.
Top
Properties
 NameDescription
Protected propertyAreaSpline Gets the interpolation function used to calculate area values.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Protected propertyFwhmSpline Gets the interpolation function used to calculate full width at half maximum (FWHM) values.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public propertyGroupNumberOfParticipatingColumns Gets the column group number used to select the participating columns within the table.
Protected propertyMaximalPositionOrWidth Gets the maximal peak position that can be evaluated.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Protected propertyMaximalX Gets the maximal x value that can be evaluated.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Protected propertyMinimalPositionOrWidth Gets the minimal peak position that can be evaluated.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Protected propertyMinimalX Gets the minimal x value that can be evaluated.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public propertyNameOfPropertyForPeakPositionOrWidth Gets the name of the property column that stores the peak position values or peak width value for each participating column. The exact meaning depends on the value of PropertyIsPeakWidth: if true, the property column is expected to store peak width values; if false, the property column is expected to store peak position values.
Public propertyNumberOfDependentVariables Number of dependent variables (i.e. y, in Altaxo this is commonly called v (like value)).
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public propertyNumberOfIndependentVariables Number of independent variables (i.e. x).
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public propertyNumberOfParameters Number of parameters of this fit function.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Protected propertyNumberOfParametersPerPeak Gets the number of parameters per peak.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public propertyNumberOfTerms Gets the number of peak terms.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public propertyOrderOfBaselinePolynomial Gets the order of the baseline polynomial.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public propertyParameterNamesForOnePeak Gets the parameter names for one peak.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public propertyPropertyIsPeakWidth Gets a value indicating whether the additional peak property represents the peak width.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Protected propertySpline Gets the spline used to interpolate the lookup table.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public propertyTableName Gets the name of the data table that contains the peak curves and any associated metadata.
Top
Methods
 NameDescription
Public methodDefaultParameterValue Returns a default parameter value. You must ensure that the fit function would generate values with those default parameters.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodDefaultVarianceScaling Returns the default variance scaling for the dependent variable i.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodDependentVariableName Returns the ith dependent variable name.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodEvaluate(Double, Double, Double) This evaluates a function value.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodEvaluate(IROMatrixDouble, IReadOnlyListDouble, IVectorDouble, IReadOnlyListBoolean) Evaluates the function values at multiple x-points.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodEvaluateDerivative Evaluates the gradient of the function with respect to the parameters.
(Inherited from InterpolatedPeakFunctionFromMatrix)
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 methodGetInitialParametersFromHeightPositionAndWidthAtRelativeHeight Gets the initial parameters for one term (peak) by providing the height of the peak, the position of the peak, the width of the peak, and the relative height at which the width was measured.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodGetParameterBoundariesForPositivePeaks Gets the parameter boundaries in order to have positive peaks only.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodGetParameterBoundariesHardLimit Gets the parameter boundaries that are really a hard limit, i.e. outside those limits, the function would probably evaluate NaN values, or makes no sense.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodGetParameterBoundariesSoftLimit Gets the intended parameter boundaries. This are soft limits, boundaries so that the intended purpose of the fit function is fullfilled. Example: in the exponential decay Exp(-a*t) a is intended to be positive. This is a soft limit, and not a hard limit, because a could be also negative, and the fit nevertheless would succeed.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodGetPositionAreaHeightFWHMFromSinglePeakParameters(IReadOnlyListDouble) Gets the position, the area under the peak, the height, and the Full Width Half Maximum (FWHM) from the parameters of a single peak.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodGetPositionAreaHeightFWHMFromSinglePeakParameters(IReadOnlyListDouble, IROMatrixDouble) Gets the position, the area under the peak, the height, and the Full Width Half Maximum (FWHM) from the parameters of a single peak. If the covariance matrix is given, then also the standard deviations of position, area, height, FWHM are calculated (otherwise, zero values are returned for the standard deviations).
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodGetYOfOneTerm_PropertyIsPosition Evaluates one peak term from the table interpolation.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Protected methodGetYOfOneTerm_PropertyIsWidth Evaluates one peak term from the table interpolation.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodIndependentVariableName Returns the ith independent variable name.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Public methodInitialize Initializes the component, setting up necessary resources and configurations.
(Overrides InterpolatedPeakFunctionFromMatrixInitialize)
Protected methodInitialize(DataTable) Initializes the internal state using data from the specified table, extracting relevant columns and preparing data for spline processing.
Protected methodInitializeSpline Initializes the spline from a matrix representation of peak curves.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParameterName Returns the ith parameter name.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Top
Events
 NameDescription
Public eventChanged Occurs when the fit function changed, including number or name of parameters, independent variables, dependent variables, or the scaling.
(Inherited from InterpolatedPeakFunctionFromMatrix)
Top
Remarks
The table is expected to contain multiple DoubleColumn instances (the participating columns) that represent peak curves. The x values are taken from the corresponding x column, and the peak position values are taken from a property column. The resulting matrix is then interpolated using the base implementation.
See Also