def readPairInParen(string, startPos):
    """Reads a pair of numbers contained in parenthesis like this: (3413.55, 4103.456)"""
    
    # Find the bounds
    startParen = string.find('(', startPos)
    commaLoc   = string.find(',', startParen)
    stopParen  = string.find(')', commaLoc)
    
    # Extract the numbers
    num1 = float(string[startParen+1:commaLoc-1])
    num2 = float(string[commaLoc+1  :stopParen-1])
    
    return (num1, num2)