base_utils

base_utils#

Full path: iqm.pulse.base_utils

Base utility functions with no dependencies on other iqm.pulse modules.

Functions

map_waveform_param_types(type_hint)

Map a Python typehint into EXA Parameter's (DataType, CollectionType) tuple.

merge_dicts(A, B[, path, merge_nones])

Merge two dictionaries recursively, leaving the originals unchanged.

normalize_angle(angle)

Normalize the given angle to (-pi, pi].