Skip to content

Latest commit

 

History

History
192 lines (153 loc) · 10.8 KB

File metadata and controls

192 lines (153 loc) · 10.8 KB




class Brackets( Model )[source]

Brackets is only for use in Model. Use BracketModel for independent uses.

Brackets( model, copy=None, **kwargs ) [source]

copy( ) [source]

baseResult( xdata, param ) [source]

Returns the result calculated at the xdatas.

Parameters

  • xdata : array_like
         values at which to calculate the result
  • params : array_like
         values for the parameters.

basePartial( xdata, param, parlist=None ) [source]
Returns the partial derivatives calculated at the xdatas.

Parameters

  • xdata : array_like
         values at which to calculate the partials
  • params : array_like
         values for the parameters.
  • parlist : array_like
         Not in use

baseDerivative( xdata, param ) [source]
Returns the derivative (df/dx) calculated at the xdatas.

Parameters

  • xdata : array_like
         values at which to calculate the partials
  • params : array_like
         values for the parameters.

setPrior( kpar, prior=None, **kwargs ) [source]

getPrior( kpar ) [source]

nextPrior( ) [source]

basePrior( k ) [source]
Return the prior of the indicated parameter.

Parameters

  • k : int
         parameter number.

hasPriors( isBound=True ) [source]
Return True when the model has priors for all its parameters.

Parameters

  • isBound : bool
         Also check if the prior is bound.

baseParameterName( k ) [source]
Return the name of the indicated parameter.

Parameters

  • k : int
         parameter number.

baseParameterUnit( k ) [source]
Return the unit of the indicated parameter.

Parameters

  • k : int
         parameter number.
Methods inherited from Model
Methods inherited from FixedModel
Methods inherited from BaseModel