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

Class ScaledExtremum

source code

Residual --+
           |
          ScaledExtremum

Instance Methods [hide private]
 
__init__(self, key, var, calcKey, val, sigma, exptKey, minTime=None, maxTime=None, type=None) 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

Inherited from Residual: Dp, GetKey, dintVars, dy

Method Details [hide private]

__init__(self, key, var, calcKey, val, sigma, exptKey, minTime=None, maxTime=None, type=None)
(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)