EpochConfig.to_state()
EpochConfig.to_state()#
- EpochConfig.to_state(nth_epoch, time_before_epoch)[source]#
Creates initailized
EpochState
object based on this ofEpochConfig
object.- Parameters
nth_epoch (position of the epoch in the epoch sequence.) –
time_before_epoch (
int
) – time (i.e., mcmc iterations) that passed before this epoch; i.e., the sum of all previous epoch durations.
- Return type