gr_gaussian: Gaussian curve

Description Usage Arguments References Examples

Description

Generates a Gaussian curve based on the input data.

Usage

1
gr_gaussian(x, G, x_0, A)

Arguments

x

Point along x-axis, e.g. the wavenumber

G

Full-width at half max of the peak

x_0

Center of the peak

A

Area of the peak

References

http://mathworld.wolfram.com/GaussianFunction.html

Examples

1
2
x <- 1:1000
plot(x, gr_gaussian(x, G = 10, x_0 = 500, A = 10))

emilbp/gRaphene documentation built on May 16, 2019, 5:07 a.m.