EpochState#
- class liesel.goose.epoch.EpochState(config, nth_epoch, time, time_before_epoch, time_in_epoch)[source]#
Bases:
object
EpochState describes the state in the current epoch.
In particular, it calculates how much time is left in the current epoch and advances time. It also, provides access to the
EpochConfig
of the current epoch.Methods
advance_time
(by)Advances time by
by
units (mcmc iterations).Returns how much time is left in this epoch.
Attributes
EpochConfig
of this epoch.Position of this epoch in the epoch sequence.
Current time.
Time passed before this epoch started.
Current time within this epoch.