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 )

Constructor.

Parameters

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

copy( )

Return copy of this.

execute( kw, lowLhood )
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