| weightedGaussian | R Documentation |
Calculates the value of the squared exponential radial basis function at the given wavelengths, given the parameters of the peaks. This function is thread-safe.
weightedGaussian(location, scale, amplitude, wavelengths)
location |
Vector of location parameters of the peaks (mean). |
scale |
Vector of scale parameters of the peaks (standard deviation). |
amplitude |
Vector of amplitudes of the peaks. |
wavelengths |
Vector of wavenumbers at which to compute the function. |
The value of the Gaussian function at the given wavelengths.
Cal_V <- seq(300,400,by=5)
loc <- c(320,350,375)
sca <- c(10,5,18)
amp <- c(1000,5000,2000)
weightedGaussian(loc,sca,amp,Cal_V)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.