BayesicFitting

Model Fitting and Evidence Calculation

View project on GitHub



class StartEngine( Engine )[source]

StartEngine generates a random trial sample.

It is used to initialize the set of trial samples.

Attributes from Engine
walkers, errdis, maxtrials, nstep, slow, rng, report, phantoms, verbose

Author Do Kester.

StartEngine( walkers, errdis, copy=None, **kwargs ) [source]

Constructor.

Parameters

  • walkers : WalkerList
         list of walkers to be initiated
  • errdis : ErrorDistribution
         error distribution to be used
  • copy : StartEngine
         engine to be copied

copy( ) [source]

execute( kw, lowLhood ) [source]
Execute the engine by a random selection of the parameters.

Parameters

  • kw : int
         index in the WalkerList
  • lowLhood : float
         lower limit in logLikelihood

Returns

  • int : the number of successfull moves
Methods inherited from Engine