exa.core.observation.observation_stash.set_global_observation_stash

exa.core.observation.observation_stash.set_global_observation_stash#

set_global_observation_stash(rules)#

Shorthand to populate an observation stash with given rules, and then set the global loading rules to get from that stash.

Parameters:

rules (list[RuleType] | None) – The rules used to populate the stash, applied when this function is called.

Returns:

The populated stash.

Return type:

ObservationStash