def feed_hdf5_tme(dtsFunc, objQ, vecSplt):
    """
    Feed FIFO queue for placement of voxel time courses segments in hdf5 file.

    Parameters
    ----------
    dtsFunc : h5py dataset
        Dataset within h5py file.
    objQ : queue.Queue
        Queue from which voxel time courses are retrieved.
    vecSplt : np.array
        Indices of chunks of volumes in fMRI time course. Looping volume by
        volume is too slow. Instread, read & write a chunk of volumes at a
        time.

    Notes
    -----
    Place temporal segments (i.e. chunks of volumes) in hdf5 file. There is a
    corresponding function for placement of spatial segments.

    """
    varNumCnk = vecSplt.shape[0]
    for idxChnk in range(varNumCnk - 1):
        varIdx01 = vecSplt[idxChnk]
        varIdx02 = vecSplt[idxChnk + 1]
        dtsFunc[varIdx01:varIdx02, :] = objQ.get()
