uvex_transients.phase_space.sampling.base.Sampler.from_settings#

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

Rebuild a sampler from the settings of another one.

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

  • **context – What a file cannot record, such as a survey schedule that is not in the registry, for the samplers that need it.

Returns:

A sampler that makes the same experiment.

Return type:

Sampler