Click or drag to resize

MassBasedFloryDistributionWithFixedGaussianBroadening Class

Mass based Flory distribution based on the decadic logarithm of the molecular weight. It designates the mass based distribution of the molecular weight after a polymerization reaction. The two parameters are the area A and the probability for a terminal reaction tau. The Flory distribution is broadened by a Gaussian function, whose sigma is not a parameter, but is dependent on the independent variable (molecular weight). The dependency of sigma is a polynomial function of the decadic logarithm of the molecular weight with fixed polynomial coefficients.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.FitFunctions.ChemistryMassBasedFloryDistributionWithFixedGaussianBroadening

Namespace: Altaxo.Calc.FitFunctions.Chemistry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class MassBasedFloryDistributionWithFixedGaussianBroadening : IFitFunctionWithDerivative, 
	IFitFunction, IFitFunctionPeak, IImmutable, IEquatable<MassBasedFloryDistributionWithFixedGaussianBroadening>

The MassBasedFloryDistributionWithFixedGaussianBroadening type exposes the following members.

Constructors
 NameDescription
Public methodMassBasedFloryDistributionWithFixedGaussianBroadening Initializes a new instance of the MassBasedFloryDistributionWithFixedGaussianBroadening class with default values.
Public methodMassBasedFloryDistributionWithFixedGaussianBroadening(Int32, Int32) Initializes a new instance of the MassBasedFloryDistributionWithFixedGaussianBroadening class with the specified number of terms and order of background polynomial.
Top
Properties
 NameDescription
Public propertyAccuracy Gets the accuracy of the evaluation of the fit function. Standard is 1e-3.
Public propertyIndependentVariableIsDecadicLogarithm If false, the independent variable is the molecular weight M. If true, the independent variable is log10(M). The default value is true.
Public propertyMolecularWeightOfMonomerUnit Gets the molecular weight of the monomer unit.
Public propertyNumberOfDependentVariables Number of dependent variables (i.e. y, in Altaxo this is commonly called v (like value)).
Public propertyNumberOfIndependentVariables Number of independent variables (i.e. x).
Public propertyNumberOfParameters Number of parameters of this fit function.
Public propertyNumberOfTerms Gets or sets the number of peak terms.
Public propertyOrderOfBaselinePolynomial Gets or sets the order of the baseline polynomial.
Public propertyParameterNamesForOnePeak Gets the parameter names for one peak.
Public propertyPolynomialCoefficientsForSigma Gets the polynomial coefficients for sigma. The polynomial is evaluated in the decadic logarithm of the molecular weight.
Top
Methods
 NameDescription
Public methodStatic memberCreate_1_M1 Creates a new instance of the fit function with one term and no baseline.
Public methodDefaultParameterValue Returns a default parameter value. You must ensure that the fit function would generate values with those default parameters.
Public methodDefaultVarianceScaling Returns the default variance scaling for the dependent variable i.
Public methodDependentVariableName Returns the ith dependent variable name.
Public methodEvaluate(Double, Double, Double) This evaluates a function value.
Public methodEvaluate(IROMatrixDouble, IReadOnlyListDouble, IVectorDouble, IReadOnlyListBoolean) Evaluates the function values at multiple x-points.
Public methodEvaluateDerivative Evaluates the gradient of the function with respect to the parameters.
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.
Public methodGetMSigmaLog10Delta Enumerates the molecular weights, sigmas, and log10 deltas for the Gaussian broadening.
Public methodGetNAndRelativeSigmaEnd Calculates the number of points and the relative sigma end for a given molecular weight.
Public methodGetParameterBoundariesForPositivePeaks Gets the parameter boundaries in order to have positive peaks only.
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.
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.
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.
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).
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetYOfOneTerm Evaluates the mass based Flory distribution in dependency of the molecular mass M. ATTENTION: the first argument is always M, not log10(M)!
Public methodIndependentVariableName Returns the ith independent variable name.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParameterName Returns the ith parameter name.
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Top
Events
 NameDescription
Public eventChanged Occurs when the fit function changed, including number or name of parameters, independent variables, dependent variables, or the scaling.
Top
See Also