Click or drag to resize

IRelaxISWCFLinkGetAutoFit Method

Perform an Autofit of the spectrum and return the result

Namespace: RelaxIS_SDK.RelaxISWCFLink
Assembly: RelaxIS SDK (in RelaxIS SDK.dll) Version: 3.0.23.63
Syntax
[OperationContractAttribute]
RelaxISFitResult GetAutoFit(
	ImpedanceSpectrum Spectrum,
	string TransferFunction,
	string WeightMode,
	int PopulationCount,
	int MaxGenerations
)

Parameters

Spectrum  ImpedanceSpectrum
The spectrum to automatically fit. Set the model and fitparameters in here.
TransferFunction  String
The transfer function to perform the fit in
WeightMode  String
The weighting mode to use for fitting
PopulationCount  Int32
The size of the population (e.g. 25). The larger the better the chances are for a successful fit (at cost of speed).
MaxGenerations  Int32
The maximum number of generations to calculate (e.g. 30). The larger the better the chances are for a successful fit (at cost of speed).

Return Value

RelaxISFitResult
A RelaxISFitResult object that contains the fit result.
Remarks
You may use the GetParameterNames(String) or GetDefaultParameters(String) function of this interface to get a list of parameter/names in the model's correct order.
See Also