hera_sim.simulate.Simulator.apply_defaults#
- Simulator.apply_defaults(config: str | dict | None, refresh: bool = True)[source]#
Apply the provided default configuration.
Equivalent to calling
set()
with the same parameters.- Parameters:
config ā If given, either a path pointing to a defaults configuration file, a string identifier of a particular config (e.g. āh1cā) or a dictionary of configuration parameters (see
Defaults
).refresh ā Whether to refresh the defaults.