mask[np.where(theta < -5*math.pi/8)] = 0