import copy


def merge_signals(signal_a, signal_b):
    """
    Merge signal_a and signal_b into a single signal.
    The two signal must have non-overlapping channels.
    """
    signal = copy.copy(signal_a)
    for c, v in signal_b.items():
        assert c not in signal
        signal[c] = v
    return signal