deerlab.dd_gauss2#

dd_gauss2 = <deerlab.model.Model object>#

Sum of two Gaussian distributions model

Parameters:
rarray_like

Distance axis, in nanometers.

mean1scalar

1st Gaussian mean.

std1scalar

1st Gaussian standard deviation.

mean2scalar

2nd Gaussian mean.

std2scalar

2nd Gaussian standard deviation.

amp1scalar

1st Gaussian amplitude.

amp2scalar

2nd Gaussian amplitude.

Returns:
Pndarray

Distance distribution.

Notes

Parameter List

Name

Lower

Upper

Type

Frozen

Unit

Description

mean1

1

20

nonlin

No

nm

1st Gaussian mean

std1

0.05

2.5

nonlin

No

nm

1st Gaussian standard deviation

mean2

1

20

nonlin

No

nm

2nd Gaussian mean

std2

0.05

2.5

nonlin

No

nm

2nd Gaussian standard deviation

amp1

0

inf

linear

No

1st Gaussian amplitude

amp2

0

inf

linear

No

2nd Gaussian amplitude

Model

P(r) = a_1\frac{1}{\sigma_1\sqrt{2\pi}}\exp\left(-\frac{(r-\left<r_1\right>)^2}{2\sigma_1^2}\right) + a_2\frac{1}{\sigma_2\sqrt{2\pi}}\exp\left(-\frac{(r-\left<r_2\right>)^2}{2\sigma_2^2}\right)

where \left<r\right>_i are the mean distances, \sigma_i the standard deviations, and a_i are the amplitudes of the Gaussians.

Examples

Example of the model evaluated at the start values of the parameters:

(Source code, png, hires.png, pdf)

../_images/deerlab-dd_gauss2-1.png