def ang180(x):
    """
        Function to mapp angular data over the interval [-180 +180)

        :param x: data series
        :returns: the data series mapped into [-180 +180)
    """
    return ((x+180)%360)-180