def loren(par, x):
    """
    Generates a Lorentzian fit from the given parameters

    Inputs
    ----------
    par: list of floats
        List of parameters to the Lorentzian.
        par[0] = DC Component
        par[1] = Shoulder Frequency

    x: list of floats
        input x-data for the model, in Hz

    Output
    ----------
    lor_model: float
        The Lorentzian model resulting from the inputted parameters.
    """

    lor_model = par[0] / (1 + (x / par[1]))
    return lor_model