Package SloppyCell :: Module Residuals :: Class ScaledErrorInFit
[hide private]

Class ScaledErrorInFit

source code

Residual --+
           |
          ScaledErrorInFit

Instance Methods [hide private]
 
__init__(self, key, depVarKey, calcKey, indVarValue, depVarMeasurement, depVarSigma, exptKey) source code
 
GetRequiredVarsByCalc(self)
The variables that need to be calculated to evaluate this residual.
source code
 
GetValue(self, predictions, internalVars, params)
The value of the residual give a current set of parameters and resulting predictions.
source code
 
dp(self, predictions, internalVars, params)
Partial derivative of the residual with respect to any parameters.
source code
 
dy(self, predictions, internalVars, params)
Partial derivative of the residual with respect to any calculated variables.
source code
 
dintVars(self, predictions, internalVars, params)
Partial derivative of the residual with respect to any internal variables.
source code

Inherited from Residual: Dp, GetKey

Method Details [hide private]

__init__(self, key, depVarKey, calcKey, indVarValue, depVarMeasurement, depVarSigma, exptKey)
(Constructor)

source code 
Overrides: Residual.__init__

GetRequiredVarsByCalc(self)

source code 

The variables that need to be calculated to evaluate this residual.

Should return a nested dictionary of the form:
    {calc name: {dependent var name: [independent var values]}}

Overrides: Residual.GetRequiredVarsByCalc
(inherited documentation)

GetValue(self, predictions, internalVars, params)

source code 

The value of the residual give a current set of parameters and
resulting predictions.

Overrides: Residual.GetValue
(inherited documentation)

dp(self, predictions, internalVars, params)

source code 

Partial derivative of the residual with respect to any parameters.

Should return a dictionary of the form:
    {parameter name: derivative}

Overrides: Residual.dp
(inherited documentation)

dy(self, predictions, internalVars, params)

source code 

Partial derivative of the residual with respect to any calculated 
variables.

Should return a dictionary of the form:
    {calculation name: {variable name: {x value: deriv}}}

Overrides: Residual.dy
(inherited documentation)

dintVars(self, predictions, internalVars, params)

source code 

Partial derivative of the residual with respect to any internal
variables.

Should return a dictionary of the form:
    {type of internal var: {expt name: {variable name: derivative}}}

XXX: This form of nesting is only appropriate for scale factors.

Overrides: Residual.dintVars
(inherited documentation)