def make_reference_channel(channel_num, target=None): channel = QLWellChannel(channel_num=channel_num, type=QLWellChannel.TARGET_TYPE_REFERENCE) if target: channel.target = target return channel
def make_unknown_channel(channel_num, target=None): channel = QLWellChannel(channel_num=channel_num, type=QLWellChannel.TARGET_TYPE_UNKNOWN) if target: channel.target = target return channel