def bins_to_frequencies(bins, df):
    """Transform spectrum bin numbers (normalized frequencies) to frequencies.

    Parameters
    ----------
    bins : array_like or number
        Bin numbers.
    df : float
        Frequency resolution of the spectrum.

    Returns
    -------
    array_like or number
        Frequencies corresponding to `bins`.

    """
    return bins*df