Settings#

Warning

Page not correctly filled yet.

zfit.settings.set_seed(seed=None, numpy=None, backend=None)[source]#

Set random seed for zfit, numpy and the backend.

Parameters:
  • seed (int, optional) – Seed to set for the random number generator within zfit. If None (default), the seed is set to a random value.

  • numpy (int, bool, optional) – Seed to set for numpy. If True (default), the same seed as for zfit is used. If False, the seed is not set.

  • backend (int, bool, optional) – Seed to set for the backend. If True (default), the same seed as for zfit is used. If False, the seed is not set.