exopy_hqc_legacy/tasks/tasks/instr/set_awg_parameters.py
def build_from_config(cls, config, dependencies):
        """Handle rebuilding the channel dict.

        """
        new = super(SetAWGParametersTask, cls).build_from_config(config,
                                                                 dependencies)
        channels = {}
        chs = {k: literal_eval(k[8:])
               for k in config if k.startswith('channel_')}
        for ch in chs:
            ch_obj = AWGChannelParameters.build_from_config(config[ch])
            channels[chs[ch]] = ch_obj

        new._channels = channels

        return new
Handle rebuilding the channel dict.

        
Handle rebuilding the channel dict.
Handle rebuilding the channel dict .
def build_from_config(cls, config, dependencies):
        new = super(SetAWGParametersTask, cls).build_from_config(config,
                                                                 dependencies)
        channels = {}
        chs = {k: literal_eval(k[8:])
               for k in config if k.startswith('channel_')}
        for ch in chs:
            ch_obj = AWGChannelParameters.build_from_config(config[ch])
            channels[chs[ch]] = ch_obj
        new._channels = channels
        return new
def build_from_config ( cls , config , dependencies ) : new = super ( SetAWGParametersTask , cls ) . build_from_config ( config , dependencies ) channels = { } chs = { k : literal_eval ( k [ 8 : ] ) for k in config if k . startswith ( 'channel_' ) } for ch in chs : ch_obj = AWGChannelParameters . build_from_config ( config [ ch ] ) channels [ chs [ ch ] ] = ch_obj new . _channels = channels return new
Handle rebuilding the channel dict.
Handle rebuilding the channel dict .
"""Handle rebuilding the channel dict.

        """
cls
config
dependencies