docs: def encloses_annulus(x_min, x_max, y_min, y_max, nx, ny, r_in, r_out):
      '''Encloses function backported from old photutils'''
  
      gout = circular_overlap_grid(x_min, x_max, y_min, y_max, nx, ny, r_out, 1, 1)
      gin = circular_overlap_grid(x_min, x_max, y_min, y_max, nx, ny, r_in, 1, 1)
      return gout - gin