IVarianceScaling Type

Interface to how to scale the differences between real quantities (dependent variables) and fitted values.

Instance members

Instance member Description

this.GetWeight

Full Usage: this.GetWeight

Parameters:
    yreal : float - The real (measured) data.
    i : int - The index of the measured data point in the table.

Returns: float The weight used to scale the fit difference (yreal-yfit). In case a variance is given for the current data, you should return (1/variance).
Modifiers: abstract

Gets the weight in dependence of the real data (roughly spoken: inverse of variance).

yreal : float

The real (measured) data.

i : int

The index of the measured data point in the table.

Returns: float

The weight used to scale the fit difference (yreal-yfit). In case a variance is given for the current data, you should return (1/variance).

this.ShortName

Full Usage: this.ShortName

Returns: string
Modifiers: abstract

Returns a short name for the scaling method. Used to display this short name in the fit function dialog box.

Returns: string