def dtt_averages(time, bandwidth, overlap, verbose=False):
    """Takes in time of clean data, bandwidth, overlap of a DTT template.
    Returns and prints the amount of time the DTT template will take to finish.
    Returns time in seconds, prints in minutes.
    """
    if overlap > 1.0:
        overlap = overlap / 100.0
    if verbose:
        print('Time = {} s'.format(time))
        print('Bandwidth = {} Hz'.format(bandwidth))
        print('Overlap = {} %'.format(overlap * 100.0))
    averages = (time * bandwidth - 1) / (1 - overlap) + 1
    if verbose:
        print('\x1b[93m Averages = {} \x1b[0m'.format(averages))
    return averages
