Пример #1
0
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
Пример #2
0
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