def create_disk_mask(x_size, y_size, x_center, y_center, radius):
    '\n    This function ...\n    :param x_size:\n    :param y_size:\n    :param x_center:\n    :param y_center:\n    :param radius:\n    :return:\n    '
    (y, x) = np.ogrid[(- y_center):(y_size - y_center), (- x_center):(x_size - x_center)]
    mask = (((x * x) + (y * y)) <= (radius * radius))
    return mask
This function ...
:param x_size:
:param y_size:
:param x_center:
:param y_center:
:param radius:
:return:
def create_disk_mask(x_size, y_size, x_center, y_center, radius):
    '\n    This function ...\n    :param x_size:\n    :param y_size:\n    :param x_center:\n    :param y_center:\n    :param radius:\n    :return:\n    '
    (y, x) = np.ogrid[(- y_center):(y_size - y_center), (- x_center):(x_size - x_center)]
    mask = (((x * x) + (y * y)) <= (radius * radius))
    return mask