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

Class PriorInLog

source code

Residual --+
           |
          PriorInLog

Instance Methods [hide private]
 
__init__(self, key, pKey, logPVal, sigmaLogPVal) 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, GetRequiredVarsByCalc

Method Details [hide private]

__init__(self, key, pKey, logPVal, sigmaLogPVal)
(Constructor)

source code 
Overrides: Residual.__init__

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)