Delay Stage

class pymoa.stage.delay.Delay(delay=0.5, **kwargs)

Bases: pymoa.stage.MoaStage

A stage that delays for delay seconds before the stage is automatically completed.

delay: float = 0.5

How long the stage should delay for each trial.

class pymoa.stage.delay.GaussianRandomDelay(mu=1.0, sigma=1.0, **kwargs)

Bases: pymoa.stage.delay.Delay

Stage that waits for a Gaussian random delay.

await init_trial(i: int)

Should take minimal time and must be called with super.

class pymoa.stage.delay.UniformRandomDelay(min=0.0, max=1.0, **kwargs)

Bases: pymoa.stage.delay.Delay

Stage that waits for a uniform random delay.

await init_trial(i: int)

Should take minimal time and must be called with super.