calix.common.base.CalibTarget

class calix.common.base.CalibTarget

Bases: abc.ABC

Data structure for collecting targets for higher-level calibration functions into one logical unit.

Targets are parameters that directly affect how a circuit is configured. They have a standard range, where the circuits will work well. Exceeding the standard range may work better for some instances (e.g., neurons) than others.

Variables

feasible_ranges – Dict of feasible ranges for each parameter. Warnings will be logged in case they are exceeded.

__init__()None

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

check()

Check types and values of parameters.

check_types()

Check whether the given types and shapes of arrays are suitable.

check_values()

Check whether the provided target parameters are feasible for calibration.

Attributes

feasible_ranges

check()

Check types and values of parameters.

check_types()

Check whether the given types and shapes of arrays are suitable.

check_values()

Check whether the provided target parameters are feasible for calibration.

feasible_ranges: ClassVar[Dict[str, calix.common.base.ParameterRange]] = {}