def summary_stat_line(start_t, end_t, moments):
    """ Moments should be a tuple of number, mean, variance, skewness, kurtosis """
    line_template = "{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}"
    number, mean, variance, skewness, kurtosis = moments
    energy = number * (mean*mean + variance)
    line = line_template.format(start_t.isoformat(), end_t.isoformat(), 
                                number, mean, variance, skewness, kurtosis, energy, energy/number)
    return line, energy, energy/number