array([[False, False, False, True, False, False, False, False], [False,
    True, True, True, True, True, False, False], [False, True, True, True,
    True, True, False, False], [True, True, True, True, True, True, True,
    False], [False, True, True, True, True, True, False, False], [False,
    True, True, True, True, True, False, False], [False, False, False, True,
    False, False, False, False], [False, False, False, False, False, False,
    False, False]], dtype=bool)
Applying circular mask with periodic boundary conditions in python