Produced by IDL 7.1.1
User Documentation

./toolbox
make_gauss_data.pro

Last modification date:
Wed Sep 28 13:27:11 2016

make_gauss_data

function make_gauss_data(x, a, noise[, offset])

Returns a gaussian, given coefficients and an x axis. Noise and offset can be added. Used in guide layer and in tests.

Returns
the gaussian evaluated at x with noise added
Examples
 ; create two gaussians
   a = [400000.,75.,15.]
   a = [a,[200000,35,5.]]
   x = lindgen(150)
   y = make_gauss_data, x, a, 100.
   plot, x, y
 
Version
$Id$

Parameters
x
in, required
array
x-axis
a
in, required
array
coefficents for gaussian: [height, center, width]
noise
in, required
double
noise to inject
offset
in, optional
double
offset to add to gaussian


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:39 2016