code: def uniq_to_level_ipix(uniq):
      
      uniq = np.asarray(uniq, dtype=np.int64)
  
      level = (np.log2(uniq//4)) // 2
      level = level.astype(np.int64)
      _validate_level(level)
  
      ipix = uniq - (1 << 2*(level + 1))
      _validate_npix(level, ipix)
  
      return level, ipix
docs: Convert a HEALPix cell uniq number to its (level, ipix) equivalent.
  
      A uniq number is a 64 bits integer equaling to : ipix + 4*(4**level). Please read
      this `paper <http://ivoa.net/documents/MOC/20140602/REC-MOC-1.0-20140602.pdf>`_
      for more details about uniq numbers.
  
      Parameters
      ----------
      uniq : int
          The uniq number of a HEALPix cell.
  
      Returns
      -------
      level, ipix: int, int
          The level and index of the HEALPix cell computed from ``uniq``.