uvex_transients.phase_space.sampling.logistic.LogisticSampler.from_settings#

classmethod LogisticSampler.from_settings(settings: Mapping, **context) → LogisticSampler[source]#

Rebuild a sampler from settings.

Parameters:
  • settings (Mapping) – The settings of the sampler to rebuild.

  • **context – Ignored: this sampler needs nothing a file cannot record.

Returns:

A sampler with the same space, center and slope.

Return type:

LogisticSampler