exa.core.model_selection_fitter.models.double_gaussian_model.double_gaussian#
- double_gaussian(x, x_01, x_02, w1, w2, a1, a2, y_0)#
Double Gaussian function with offset.
- Parameters:
x (ndarray) – Coordinate.
x_01 (float) – Center of first Gaussian.
x_02 (float) – Center of second Gaussian.
w1 (float) – Standard deviation of first Gaussian.
w2 (float) – Standard deviation of second Gaussian.
a1 (float) – Amplitude of first Gaussian.
a2 (float) – Amplitude of second Gaussian.
y_0 (float) – Offset.
- Returns:
Values of the double Gaussian function at given x-coordinates.
- Return type:
np.ndarray