code: def nside2resol(nside, arcmin=False):
      
      resolution = nside_to_pixel_resolution(nside)
      if arcmin:
          return resolution.to(u.arcmin).value
      else:
          return resolution.to(u.rad).value
docs: Drop-in replacement for healpy `~healpy.pixelfunc.nside2resol`.