EpochState#
- class liesel.goose.EpochState(config, nth_epoch, time, time_before_epoch, time_in_epoch)[source]#
Bases:
objectEpochState 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
EpochConfigof the current epoch.Methods
advance_time(by)Advances time by
byunits (mcmc iterations).Returns how much time is left in this epoch.
Attributes
EpochConfigof this epoch.Position of this epoch in the epoch sequence.
Current time.
Time passed before this epoch started.
Current time within this epoch.