helixmc.util.MC_acpt_rej

helixmc.util.MC_acpt_rej(score_old, score_new, kT=41.164043971999995)

Decide whether to accept a Monte-Carlo move.

Parameters:

score_old : float

score before the proposed update.

score_new : float

score after the proposed update.

kT : float

Temperature times Boltzmann constant, in pN.Å.

Returns:

out : bool

True for accept, False for reject.