def get_center_trackwindow(trackwindow):
    """
        Get center of a track window given as a tuple of :
        (xmin, ymin, width, height)
    """
    return (trackwindow[0]+(trackwindow[2]/2),trackwindow[1]+(trackwindow[3]/2))