def splitBaseline(baseline):
    """
    Given a baseline, split it into it consistent stand ID numbers.
    """
    if baseline >= 65536:
        ant1 = int((baseline - 65536) // 2048)
        ant2 = int((baseline - 65536) % 2048)
    else:
        ant1 = int(baseline // 256)
        ant2 = int(baseline % 256)
    return ant1, ant2
