IRelaxISWCFLinkGetAutoFit Method |
Perform an Autofit of the spectrum and return the result
Namespace: RelaxIS_SDK.RelaxISWCFLinkAssembly: 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
)
<OperationContractAttribute>
Function GetAutoFit (
Spectrum As ImpedanceSpectrum,
TransferFunction As String,
WeightMode As String,
PopulationCount As Integer,
MaxGenerations As Integer
) As RelaxISFitResult
Dim instance As IRelaxISWCFLink
Dim Spectrum As ImpedanceSpectrum
Dim TransferFunction As String
Dim WeightMode As String
Dim PopulationCount As Integer
Dim MaxGenerations As Integer
Dim returnValue As RelaxISFitResult
returnValue = instance.GetAutoFit(Spectrum,
TransferFunction, WeightMode, PopulationCount,
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
RelaxISFitResultA
RelaxISFitResult object that contains the fit result.
Remarks See Also