RelaxISWCFLinkProxyGetAutoFit 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 public RelaxISFitResult GetAutoFit(
ImpedanceSpectrum Spectrum,
string TransferFunction,
string WeightMode,
int PopulationCount,
int MaxGenerations
)
Public Function GetAutoFit (
Spectrum As ImpedanceSpectrum,
TransferFunction As String,
WeightMode As String,
PopulationCount As Integer,
MaxGenerations As Integer
) As RelaxISFitResult
Dim instance As RelaxISWCFLinkProxy
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
RelaxISFitResultThe fit result
Implements
IRelaxISWCFLinkGetAutoFit(ImpedanceSpectrum, String, String, Int32, Int32)Remarks See Also