def gaussian_window(t, params):
    """
    Calculates a Gaussian window function in the time domain which will broaden
    peaks in the frequency domain by params["line_broadening"] Hertz.
    :param t:
    :param params:
    :return:
    """
    window = suspect.basis.gaussian(t, 0, 0, params["line_broadening"])

    # the above gaussian function returns an area 1 fid, for a windowing
    # function we need to be area preserving (first point must be 1)
    return window / window[0]
Calculates a Gaussian window function in the time domain which will broaden
    peaks in the frequency domain by params["line_broadening"] Hertz.
    :param t:
    :param params:
    :return: