lisa_noise.unmodelled.lorentzian

Functions

inverse_lorentzian(x, f0, Q, min_val, baseline)

Calculate an Inverse Lorentzian function (dip/notch), where the curve

Module Contents

lisa_noise.unmodelled.lorentzian.inverse_lorentzian(x, f0, Q, min_val, baseline)

Calculate an Inverse Lorentzian function (dip/notch), where the curve starts at a baseline level and dips down to a minimum value at the resonant frequency.

Formula: y(x) = Baseline - (Baseline - Min) / (1 + ((x - f0)/gamma)^2)

Parameters:

xfloat or numpy.ndarray

The input frequency or independent variable(s).

f0float

The central resonant frequency (location of the dip).

Qfloat

The quality factor.

min_valfloat

The amplitude at the minimum of the dip (value at x = f0).

baselinefloat

The background level (maximum) far away from the resonance.