def nu_factor(nu, nu_pivot, alpha):
    """
    Frequency rescaling factor, depending on the spectral index.

    Parameters
    ----------
    nu : frequency [GHz]
    nu_pivot : pivot (i.e. reference) frequency [GHz]
    alpha : spectral index
    """

    return (nu/nu_pivot)**-alpha