code: def pix2vec(nside, ipix, nest=False):
      
      lon, lat = healpix_to_lonlat(ipix, nside, order='nested' if nest else 'ring')
      return ang2vec(*_lonlat_to_healpy(lon, lat))
docs: Drop-in replacement for healpy `~healpy.pixelfunc.pix2vec`.