observation_loading_rules

observation_loading_rules#

Full path: iqm.cpc.core.observation.observation_loading_rules

Loading rule interfaces and base classes.

Module Attributes

RuleType

Callable that returns an observation for the given dut_field, or None if it cannot find one.

RuleCacheDataType

Represents cached data for a single CacheableLoadRule subclass.

LoadFunction

Function for loading RuleCache data for a single subclass of CacheableLoadRule.

Functions

get_global_default_observation_loading_rules()

Return the global default loading rules.

resolve_rules(observation_name, rules[, ...])

Resolves the rules related to loading and fall back one by one.

set_global_default_observation_loading_rules(rules)

Set global default rules which are to be applied to observation handlers in experiments.

Classes

CacheableLoadRule

Interface for an observation loading rule for which the observation data can be preloaded to a cache.

Fail

Terminates rule application chain on error.

LatestFromStash

Load rule that gets the observation from the local stash.

RuleCache

Stores cached observation values for the CacheableLoadingRule subclasses.

Inheritance

Inheritance diagram of iqm.cpc.core.observation.observation_loading_rules