def save_values_and_dt(ffp, values, dt, label):
    """
    Exports acceleration values to the eqsig format.

    Parameters
    ----------
    ffp: str
        Full file path to output file
    values: array_like
        An array of values
    dt: float
        Time step
    label: str
        A label of the data
    """
    para = [label, '%i %.4f' % (len(values), dt)]
    for i in range(len(values)):
        para.append('%.6f' % values[i])
    ofile = open(ffp, 'w')
    ofile.write('\n'.join(para))
    ofile.close()
