def METHOD_NAME(dtype, tIndex, fitResults, fitError=None, startParams=None, slicesUsed=None, resultCode=-1, **kwargs):
    dtype = np.dtype(dtype)
    if fitError is None:
        fitError = -5e3 + 0 * fitResults
    if startParams is None:
        startParams = -5e3 + 0 * fitResults
    slicesUsed = fmtSlicesUsed(slicesUsed)
    ns = locals()
    ns.update(kwargs)
    res = np.zeros(1, dtype=dtype)
    for n in dtype.names:
        res[n] = _tuplify(ns[n])
    return res