def dafus(insum, nd, ni):
    """
    Unpack an array summary into its double precision and integer components.

    http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dafus_c.html

    :param insum: Array summary.
    :type insum: Array of floats
    :param nd: Number of double precision components.
    :type nd: int
    :param ni: Number of integer components.
    :type ni: int
    :return: Double precision components, Integer components.
    :rtype: tuple
    """
    insum = stypes.toDoubleVector(insum)
    dc = stypes.emptyDoubleVector(nd)
    ic = stypes.emptyIntVector(ni)
    nd = ctypes.c_int(nd)
    ni = ctypes.c_int(ni)
    libspice.dafus_c(insum, nd, ni, dc, ic)
    return stypes.cVectorToPython(dc), stypes.cVectorToPython(ic)