Description Usage Arguments Value Examples
This function returns three Gaussian absorption features, both with continuum 1.0 and each with a specified amplitude, center, and spread.
1 | gauss3func(x, a1, a2, a3, mu1, mu2, mu3, sig1, sig2, sig3)
|
x |
the vector of values at which to evaluate |
a1 |
the amplitude of the first feature |
a2 |
the amplitude of the second feature |
a3 |
the amplitude of the third feature |
mu1 |
the center of the first feature |
mu2 |
the center of the second feature |
mu3 |
the center of the third feature |
sig1 |
the spread of the first feature (must be greater than 0) |
sig2 |
the spread of the second feature (must be greater than 0) |
sig3 |
the spread of the third feature (must be greater than 0) |
vector of values of the three specified inverted Gaussians
1 2 3 | x = seq(5000, 5003, length.out=200)
y = gauss3func(x, 0.3, 0.5, 0.4, 5001.5, 5002, 5000.4, 0.1, 0.1, 0.13)
plot(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.