def annuli_around(region, inner_factor, outer_factor, header, x_size, y_size):
    '\n    This function ...\n    :param region:\n    :param inner_factor:\n    :param outer_factor:\n    :param header:\n    :param x_size:\n    :param y_size:\n    :return:\n    '
    inner_region = regions.expand(region, inner_factor)
    outer_region = regions.expand(region, outer_factor)
    inner_mask = regions.create_mask(inner_region, header, x_size, y_size)
    outer_mask = regions.create_mask(outer_region, header, x_size, y_size)
    mask = (inner_mask | np.logical_not(outer_mask))
    return mask
This function ...
:param region:
:param inner_factor:
:param outer_factor:
:param header:
:param x_size:
:param y_size:
:return:
def annuli_around(region, inner_factor, outer_factor, header, x_size, y_size):
    '\n    This function ...\n    :param region:\n    :param inner_factor:\n    :param outer_factor:\n    :param header:\n    :param x_size:\n    :param y_size:\n    :return:\n    '
    inner_region = regions.expand(region, inner_factor)
    outer_region = regions.expand(region, outer_factor)
    inner_mask = regions.create_mask(inner_region, header, x_size, y_size)
    outer_mask = regions.create_mask(outer_region, header, x_size, y_size)
    mask = (inner_mask | np.logical_not(outer_mask))
    return mask